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: 3522 @ 8651 @ 5172 # 4816 # 7424 # 1074 # 1822 # 1419
Example Output: 790

Example Input: 2598 # 1930 @ 3599
Example Output: 4267

Example Input: 5570 @ 6724 @ 4146 # 5900
Example Output:
10540