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