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