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