base='abcdefghijklmnopqrstuvwxyz' s=input() for i in range(26): if base[i]!=s[i]: print(base[i]+'to'+s[i])