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