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: 8172 @ 6594 # 2768 # 40 @ 9214 @ 3626
Example Output: 24798

Example Input: 6732 @ 5690 # 2448 @ 1752 @ 7805 # 1629 # 9280
Example Output: 8622

Example Input: 1802 @ 6296 @ 8829 @ 8054 @ 6196 # 3087 # 8377 # 835
Example Output:
18878