<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reduce_by_keys(orig_dict, keys, default=None):
 """Reduce a dictionary by selecting a set of keys """

    ret = {}
    for key in keys:
        ret[key] = orig_dict.get(key, default)
    return ret