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: 8197 @ 9504 @ 5465 # 6573 @ 8964 @ 6026
Example Output: 31583

Example Input: 6729 # 1204 # 5514 # 8079
Example Output: -8068

Example Input: 3516 @ 8386 @ 2360 @ 5291 # 7056 @ 4771
Example Output:
17268