#!/usr/bin/env python
# -*- coding: utf-8 -*-

# 標準入力から一行分を読み出し、文字列として格納する。
input_string = raw_input()

# 読み込んだ文字列をスペースで分割する。
# split_first = first.split()

# それぞれをint型に変換する。
#A = int(split_first[0])
#B = int(split_first[1])

output_string = ""
i = 1
for string in input_string:
	nextstr = ord(string)-i%26
	if (nextstr<65):
		nextstr = nextstr + 26
	elif (nextstr>90):
		nextstr = nextstr - 26

	output_string = output_string + chr(nextstr)
	i = i+1


print output_string