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: 3970 # 8486 # 9402 # 8030 @ 4724 @ 8858
Example Output: -8366

Example Input: 9942 @ 4126 @ 294 @ 6323 @ 9325 # 2366 # 3185 @ 8413 @ 6924
Example Output: 39796

Example Input: 171 @ 735 @ 2477 @ 8875 @ 6050 @ 1939 @ 2536
Example Output:
22783