from collections import OrderedDict


def summarize(keys, values, updater, orddict: OrderedDict) ->OrderedDict:
    for k, v in zip(keys, values):
        if k in orddict.keys():
            updater(k, v, orddict)
        else:
            orddict[k] = v
    return orddict

0c3d558258932b951fb5f1bc92ac0445cebbd9f1
<mask token>

<mask token>


def summarize(keys, values, updater, orddict: OrderedDict) ->OrderedDict:
    for k, v in zip(keys, values):
        if k in orddict.keys():
            updater(k, v, orddict)
        else:
            orddict[k] = v
    return orddict

from collections import OrderedDict


def summarize(keys, values, updater, orddict: OrderedDict) ->OrderedDict:
    for k, v in zip(keys, values):
        if k in orddict.keys():
            updater(k, v, orddict)
        else:
            orddict[k] = v
    return orddict
