#!/usr/bin/env python3 #fileencoding: utf-8 S = input() Z = ord("Z")+1 A = ord("A") alpha = [chr(i) for i in range(A,Z)] result = [] for i,v in enumerate(S): tmp = ord(v) - A - (i+1) if tmp < 0: tmp = (tmp%(Z-A)) result.append(alpha[tmp]) print("".join(result))