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: 8172 @ 6594 # 2768 # 40 @ 9214 @ 3626
Example Output: 24798

Example Input: 7936 @ 9333 @ 6122 @ 6291 # 210
Example Output: 29472

Example Input: 353 @ 9481 # 4919 @ 3539
Example Output:
8454