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