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: 331 # 9967 @ 21 @ 480 # 3926 @ 8770 @ 5909 @ 6288 # 1226
Example Output: 6680

Example Input: 2307 # 9363 @ 4926 @ 5635
Example Output: 3505

Example Input: 1508 # 9607 @ 9117 @ 1943 # 3539 # 8743 # 2584 @ 7819
Example Output:
-4086