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