s=input() a='abcdefghijklmnopqrstuvwxyz' for i,v in enumerate(s): if a[i]!=v: print('{}to{}'.format(a[i],v))