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: 3586 # 8254 # 4130 # 5426
Example Output: -14224

Example Input: 9954 @ 4250 # 4835 @ 6737 # 8434 # 6461 @ 1008
Example Output: 2219

Example Input: 8558 # 738 @ 345 @ 5162 @ 2157 # 8248 @ 3435 @ 1860 @ 9733
Example Output:
22264