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: 5211 # 3266 @ 3042 @ 254 # 7823 @ 4298 # 8042 # 1629 # 6738
Example Output: -14693

Example Input: 5986 # 3224 # 3957 @ 1893 @ 9453 @ 3954 # 476 # 5750 # 5163
Example Output: 2716

Example Input: 1773 # 7999 # 3637 # 1726 # 2829 # 7459 @ 9615 @ 4457 # 2759
Example Output:
-10564