# URL : https://yukicoder.me/problems/no/1217 s = "abcdefghijklmnopqrstuvwxyz" t = input() for i in range(26): if s[i] != t[i]: print(s[i] + "to" + t[i])