a = input() for b, c in zip(a, "abcdefghijklmnopqrstuvwxyz"): if b != c: print(f"{c}to{b}") break