input = gets ("a".."z").each_with_index do |v, i| unless input.match(v) puts "#{v}to#{input[i]}" end end