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: 5507 @ 4243 @ 5897 @ 7115 # 6687 @ 3875 # 298 @ 1379 @ 1973
Example Output: 23004

Example Input: 1077 @ 2451 @ 9445 @ 1297 @ 2639 # 27 # 9331 @ 8713
Example Output: 16264

Example Input: 3876 @ 6607 # 1034 # 2483 @ 544 # 1053 @ 4907 @ 1303 @ 3904
Example Output:
16571