S = input() a = ord('A') T = [chr(a+(ord(S[i])-a-(i+1))%26) for i in range(len(S))] print(''.join(T))