a = "abcdefghijklmnopqrstuvwxyz".split("") b = gets.split("") (0..25).each do if a[i] != b[i] puts a[i] + "to " + b[i] end end