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: 9582 @ 3554 @ 1044 @ 880 # 6787 # 6161
Example Output: 2112

Example Input: 6348 # 2614 @ 3559 @ 9670 # 1137 # 9684
Example Output: 6142

Example Input: 1471 # 7798 @ 6514 @ 8053 @ 9926
Example Output:
18166