puts gets.chomp.split('').map.with_index{|c,i| nc = c.ord-i%26-1 (nc<"A".ord ? nc+26 : nc).chr }.join('')