s = input() a = "abcdefghijklmnopqrstuvwxyz" w = "" num = 0 for i in range(len(a)): if s[i] != a[i]: w = s[i] break print(a[i] + "to" + w)