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