S = "abcdefghijklmnopqrstuvwxyz"

T = input()

for i in range(26):
    if S[i] != T[i]:
        print (S[i] + "to" + T[i])