s = gets.strip (0...26).each { |i| puts "#{('a'.ord + i).chr}to#{s[i]}" if s[i] != ('a'.ord + i).chr }