def invert_dictionary(d):
    return {v: k for k, v in d.items()}
