<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pluck(record, *keys, **kwargs):
 """Return the record with the selected keys :param record: a list of dictionaries :param keys: some keys from the record :param kwargs: keywords determining how to deal with the keys {'color': 'blue', 'name': 'Lancelot'} The keyword 'default' allows to replace a ``None`` value:: {'movie': 'Bilbo', 'nb_aliens': 0, 'year': 2014} """

    default = kwargs.get('default', None)
    return reduce(lambda a, x: assoc(a, x, record.get(x, default)), keys, {})