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: 1569 @ 5170 @ 566 # 6012 @ 5001
Example Output: 6294

Example Input: 5253 @ 2450 @ 1316 @ 9889 @ 6449 @ 4948
Example Output: 30305

Example Input: 332 @ 6825 # 7014 @ 9874
Example Output:
10017