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: 4364 @ 4363 # 5655 @ 5991 @ 3879 @ 2303 # 3321 @ 8300 @ 6059

Output: 26283


Input: Consider Input: 9039 @ 4996 @ 845 # 5409

Output: 9471


Input: Consider Input: 4778 @ 8904 # 3574 # 9585 # 6246 # 7037 @ 9540 @ 3573


Output: 353


