s = '' 
$stdin.gets.chomp.split(//).map{ |i| i.ord }.each_with_index{ |e,i|
	  e += ( 26 - (i + 1)) % 26
	  e -= 26 if e > 'Z'.ord
	  s += e.chr
}
puts s