s=map(ord,list(input())) n=96 for i in s: n+=1 if n!=i: print(chr(n)+"to"+chr(i))