s="abcdefghijklmnopqrstuvwxyz"
t=input()
for i in range(26):
    if s[i]!=t[i]:
        print(s[i]+"to"+t[i])