from typing import Dict
import itertools


def merge(*dicts: Dict) -> Dict:
    """
    Merge dicts into one.
    If a key in a latter dict exists in a previous dict, the value in
    the latter dict will be used.
    """
    return dict(itertools.chain(*(i.items() for i in dicts)))