def merge_dicts(*dict_args):
    """Merge given dicts into a new dict.

    Examples::
    >>> merge_dicts({"a": 1, "b": 2}, {"c": 3, "b": 20}, {"d": 4})
    {'a': 1, 'b': 20, 'c': 3, 'd': 4}
    """
    result = {}
    for dictionary in dict_args:
        result.update(dictionary)
    return result