s = input() t = [] x = 0 for i in s: x += 1 x %= 26 y = ord(i)-x if y < 65: y += 26 t.append(chr(y)) print(''.join(t))