s=input() num=[] for i,x in enumerate(s): num.append((ord(x)-ord("A")-i-1)%26) for x in num: print(chr(x+65),end='') print("",end="\n")