S = input() ans = "abcdefghijklmnopqrstuvwxyz" for n, i in enumerate(ans): if not S[n] == ans[n]: print("{0}to{1}".format(ans[n], S[n]))