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