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: 5986 # 3224 # 3957 @ 1893 @ 9453 @ 3954 # 476 # 5750 # 5163
Example Output: 2716

Example Input: 8932 # 2337 @ 825 # 8463 @ 528
Example Output: -515

Example Input: 8141 # 3756 # 4461 @ 2908
Example Output:
2832