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