s = input() try: dic = eval(s) d = {value:key for key,value in dic.items()} #利用推导式 print(d) except: print("输入错误")