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: 1508 # 9607 @ 9117 @ 1943 # 3539 # 8743 # 2584 @ 7819

Output: -4086


Input: Consider Input: 463 @ 7844 # 9816

Output: -1509


Input: Consider Input: 4792 @ 2910 @ 8341 # 4744 @ 6465 # 977 # 4204


Output: 12583