s=input()
s0="abcdefghijklmnopqrstuvwxyz"
for i in range(len(s)):
    if s[i]!=s0[i]:
        ans=s0[i]+'to'+s[i]
        print(ans)
        break