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: 6942 @ 1857 @ 1508 @ 3059 # 6727
Example Output: 6639

Example Input: 8197 @ 9504 @ 5465 # 6573 @ 8964 @ 6026
Example Output: 31583

Example Input: 3547 # 2577 @ 8290 # 9131 # 8792 @ 4747
Example Output:
-3916