S=list(input()) for i in range(len(S)): S[i]=chr((26+ord(S[i])-ord("A")-(i+1))%26+ord("A")) print("".join(S))