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