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

Input: Consider Input: 4787 # 6151 # 6235

Output: -7599


Input: Consider Input: 2996 @ 6178 @ 7214 # 172 # 3711

Output: 12505


Input: Consider Input: 7248 @ 8707 @ 7631 # 6691 @ 9390 # 1998 # 5680 @ 817 @ 1985


Output: 21409