In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer

Example Input: 958 # 263 # 1097 @ 3868 # 3982
Example Output: -516

Example Input: 5274 @ 8123 @ 5544 @ 7060 # 1023
Example Output: 24978

Example Input: 4851 @ 3641 # 7674
Example Output:
818