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