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: 2900 # 2740 # 1706 @ 6629
Example Output: 5083

Example Input: 3367 # 4567 @ 8786 @ 9643 @ 105 # 6364 @ 9695 # 2387 @ 8798
Example Output: 27076

Example Input: 4965 @ 9075 # 1121 @ 243 @ 2561 @ 3077 @ 5105 # 1091 # 3170
Example Output:
19644