S = input()
a = 'abcdefghijklmnopqrstuvwxyz'

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