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: 9318 @ 858 @ 9508 @ 5403 # 5141 @ 6503 @ 9412
Example Output: 35861

Example Input: 7944 # 4957 # 8255 @ 684
Example Output: -4584

Example Input: 4273 # 4437 # 5958 @ 1558 # 849 @ 1378 @ 6212
Example Output:
2177