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: 2821 @ 5327 # 3350 # 3607 @ 7010 @ 6824 # 9975 # 38
Example Output: 5012

Example Input: 7165 @ 3630 @ 9021 # 4140 @ 319
Example Output: 15995

Example Input: 9654 # 9508 # 2472 # 1869 # 8658 # 2134 # 9527
Example Output:
-24514