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