S=input() O="abcdefghijklmnopqrstuvwxyz" for i in range(26): if S[i]!=O[i]: print(O[i]+"to"+S[i])