s=input() t="abcdefghijklmnopqrstuvwxyz" for i,j in zip(s,t): if i == j: print(f'{j}to{i}')