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: 6744 # 8579 # 1271 @ 9372 @ 5898
Example Output: 12164

Example Input: 4368 # 7312 @ 7468 # 4833 # 1476 # 42
Example Output: -1827

Example Input: 4348 # 8742 # 9923 # 7161 # 9687 @ 7189 # 719
Example Output:
-24695