A = "A".ord b = gets.chomp puts b.chars.each_with_index.map {|c,i| (c.ord - A - (i + 1)) % 26 }.map {|c| (A + c).chr }.join