inp = str(input()) for t,f in zip('abcdefghijklmnopqrstuvwxyz',inp): if t == f: pass else: print(f'{t}to{f}')