S = input() alpha = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if ord(S[i])-ord('a')!=i: print(alpha[i]+'to'+S[i])