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: 298 @ 1699 @ 1367 @ 5001
Example Output: 8365

Example Input: 1199 # 1369 @ 4358 # 7803 @ 410 @ 1295 @ 4397 # 9436 @ 5291
Example Output: -1658

Example Input: 5756 @ 5958 @ 363 @ 2498 @ 165
Example Output:
14740