s = input() a = "abcdefghijklmnopqrstuvwxyz" for aa, ss in zip(a, s): if aa != ss: print(f"{aa}to{ss}") exit()