import sys input=lambda: sys.stdin.readline().rstrip() S=input() T="abcdefghijklmnopqrstuvwxyz" for i in range(26): if S[i]!=T[i]: print(T[i]+"to"+S[i]) else: continue