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