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: 9056 @ 9894 # 9773 # 4508 # 5642

Output: -973


Input: Consider Input: 9741 # 8583 @ 2183 # 5623 @ 4144 # 4064 @ 3416 @ 9350 @ 4931

Output: 15495


Input: Consider Input: 9242 # 3220 # 419 @ 1148 # 8636 @ 1751


Output: -134