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: 6557 @ 9368 # 307 @ 2982 # 8398 # 9241 # 4697 # 6790
Example Output: -10526

Example Input: 6148 @ 1077 @ 5914 # 245 @ 5862 @ 8792 # 9099
Example Output: 18449

Example Input: 9206 @ 6945 @ 2720 @ 7 @ 4240 # 8186 @ 2271 # 1922
Example Output:
15281