from typing import OrderedDict


def merge(dic1, dic2):
    """
    Returns an OrderedDict whose keys are all those of dic1 and/or dic2,
    and whose values are those in dic2 or (if missing from dic2) dic1.
    """
    return OrderedDict(dic1, **dic2)