s = list(input())
for i in range(26):
    if s[i] != chr(ord("a")+i):
        print(chr(ord("a")+i)+"to"+s[i])