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: 9781 # 2797 # 2134
Example Output: 4850

Example Input: 345 @ 1076 @ 7948 # 854
Example Output: 8515

Example Input: 2901 # 7312 @ 3664 # 5954 # 4372 # 9135 # 6873 @ 2372
Example Output:
-24709