s = input() for i in range(97,123): if chr(i) not in s: print(chr(i) + "to" + s[i-97]) break