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