input = gets #input = "abcdefghijklmnopqrstuvwxyz" val = "abcdefghijklmnopqrstyvwxyz".split("") a = input.split("") i = 0 val.each {|v| if (v != a[i]) then puts v + "to" + a[i] end i = i + 1 }