# coding: utf-8 # Your code here! word = input() s = ord('a') for w in range(len(word)): if ord(word[w]) != s: x = word[w] y = chr(s) print(y + "to" + x) break s += 1