s = input() for i in range(26): if ord('a') + i != ord(s[i]): print(chr(ord('a') + i) + "to" + s[i]) break