s = input() x = "abcdefghijklmnopqrstuvwxyz" for i in range(30): if s[i] != x[i]: print(x[i] + "to" + s[i]) break