S = input() A = "abcdefghijklmnopqrstuvwxyz" for i in range(len(S)): if S[i] != A[i]: print(A[i] + "to" + S[i]) break