def compare_ids(mirbase_id, rfam_id):
    """
    Compare ids like MIPF0000024__mir-103 and mir-103
    """
    parts = mirbase_id.split('__')
    if parts[-1].lower() == rfam_id.lower():
        return 'Yes'
    else:
        return 'No'