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: 6744 # 8579 # 1271 @ 9372 @ 5898
Example Output: 12164

Example Input: 1917 @ 4353 @ 4321 @ 3060 @ 6681 @ 7890 @ 8148
Example Output: 36370

Example Input: 4983 # 7352 @ 2806 # 2536 # 4269
Example Output:
-6368