a=input() for i in range(len(a)): b=chr(97+i) c=a.count(b) if c==0: d=b elif c==2: e=b print(d+"to"+e)