<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reverseDict(d):
 """ Helper for generating fullToTag Makes dict of value to key """

    retD = {}
    for k in d:
        retD[d[k]] = k
    return retD