S = input() ans = '' for i in range(len(S)): ans += chr(65 + ((ord(S[i])-66-i)%26)) print(ans)