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: 1916 @ 5847 @ 4371
Example Output: 12134

Example Input: 1569 @ 5170 @ 566 # 6012 @ 5001
Example Output: 6294

Example Input: 7107 @ 8007 # 1835 # 1412 # 8195 @ 4069 # 7971 @ 9918
Example Output:
9688