inputList = list(map(ord, list(input()))) for ind in range(0, len(inputList)): inputList[ind] -= (ind + 1) if (inputList[ind] < ord("A")): inputList[ind] += (1 - ord("A") + ord("Z")) print(''.join(list(map(chr, inputList))))