s=raw_input() ans='' for i,w in enumerate(s): k=ord(w)-(i+1)%26 if k<65: k+=26 ans+=chr(k) print ans