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: 507 @ 3439 # 8086 # 5497 @ 2145 @ 2124 @ 9603 @ 2119 @ 8351
Example Output: 14705

Example Input: 8678 @ 7424 # 7399 @ 4601 @ 9327 @ 7787 @ 2286
Example Output: 32704

Example Input: 3285 # 4805 # 7542 # 8622 @ 2276
Example Output:
-15408