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: 3522 @ 8651 @ 5172 # 4816 # 7424 # 1074 # 1822 # 1419
Example Output: 790

Example Input: 3782 @ 4127 # 1265 # 1395 @ 2430 @ 6990 @ 8573 @ 8170
Example Output: 31412

Example Input: 1384 # 3839 @ 7871 # 7699 # 7840 # 3654 # 5172 # 9
Example Output:
-18958