s = input() for i in range(len(s)): if s[i] == chr(i+ord('a')): print(chr(ord('a') + i) + 'to' + s[i]) break