S=list(input()) result=[] count=0 for i in S: count+=1 count%=26 ans=ord(i)-count if ans<65: ans+=26 result.append(chr(ans)) print("".join(result))