gets.chars.map.with_index(1){|c, i| $><<[*?A..?Z].rotate(-i)[c.ord - ?A.ord] }