base = 'abcdefghijklmnopqrstuvwxyz' s = input() for bi,si in zip(base,s): if(bi != si): print(bi+'to'+si) exit()