<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deep_get(d, *keys, default=None):
 """ Recursive safe search in a dictionary of dictionaries. Args: d: the dictionary to work with *keys: the list of keys to work with default: the default value to return if the recursive search did not succeed Returns: The value wich was found recursively in d, or default if the search did not succeed Example: "foo" {"id": 1, "login": "foo"} None "bar" """


    for key in keys:
        try:
            d = d[key]
        except (KeyError, IndexError, TypeError):
            return default
    return d