def find(fn, record):
values_result = fn(record.values())<EOL>keys_result = [k for k, v in record.items() if v == values_result]<EOL>return {keys_result[<NUM_LIT:0>]: values_result}<EOL>
Apply a function on the record and return the corresponding new record

    :param fn: a function
    :param record: a dictionary
    :returns: a dictionary

    >>> find(max, {'Terry': 30, 'Graham': 35, 'John': 27})
    {'Graham': 35}