import string S = input() N = len(S) T = [''] * N for i in range(N): T[i] = string.ascii_uppercase[(ord(S[i])-ord('A')-i-1)%26] print(''.join(T))