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: 7720 @ 5171 # 6139 @ 480
Example Output: 7232

Example Input: 4752 @ 7094 @ 9684 # 7709 # 3412 @ 2472 @ 3879
Example Output:
16760