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: 9852 # 24 # 2468 @ 5798 @ 6384
Example Output: 19542

Example Input: 722 # 9533 @ 3199 @ 4825 @ 817
Example Output: 30

Example Input: 9178 # 1297 @ 6255 # 7008 @ 7127 @ 5433 @ 3292 # 286 # 3931
Example Output:
18763