while~0:_=input();a=sorted(_.split())[-len(_)&6];print(_.replace(a,"0x"+a))