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