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: 877 # 7761 # 7154 # 4993 # 2712
Example Output: -21743

Example Input: 8197 @ 9504 @ 5465 # 6573 @ 8964 @ 6026
Example Output: 31583

Example Input: 8398 # 1163 @ 8396 @ 4440 @ 9289
Example Output:
29360