def from_dict_by_keys(data_dict, map_list):
    """Get a value from a dict by following map list of keys.
    Example:
        dict = {'a': {'aa': {'aaa': 111, 'aab': 112}}}
        from_dict_by_keys(dict, ['a', 'aa', 'aaa'])    # Returns 111
        from_dict_by_keys(dict, ['a', 'aa', 'aab'])    # Returns 112

    Args:
        data_dict: dict
        map_list: list of keys of dict
    Returns:
        mixed: value of dict element.
    """
    data = dict(data_dict)
    for k in map_list:
        data = data[k]
    return data