def main(): chars = [chr(i) for i in range(65, 91)] nums = [i for i in range(1, 27)] alphabets = dict(zip(chars, nums)) arry = list(input().rstrip()) for i in range(len(arry)): decrypted_num = int(alphabets[arry[i]]) - i if decrypted_num <= 0: decrypted_num += 26 if decrypted_num > 26: decrypted_num -= 26 arry[i] = chars[decrypted_num - 2] ans = "".join(arry) print(ans) if __name__ == "__main__": main()