def target_name(target_id):
    """Returns the target name, 'KIC {target_id}' or 'EPIC {target_id}'."""
    if int(target_id) < 2e8:
        return "KIC {}".format(target_id)
    return "EPIC {}".format(target_id)