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: 581 # 2278 @ 452 # 5411 # 7564 @ 8148 # 2350 # 8956 # 4877
Example Output: -22255

Example Input: 463 @ 7844 # 9816
Example Output: -1509

Example Input: 2104 @ 9831 @ 2328
Example Output:
14263