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