def create_dicts_by_chain(keys_chain: list):
    """
    Create nested dicts by keys chain
    >>> create_dicts_by_chain(['some', 'keys'])
    {'some': {'keys': {}}}
    """
    result = {}
    current_dict = result
    for key in keys_chain:
        current_dict[key] = {}
        current_dict = current_dict[key]
    return result