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: 6267 @ 3545 @ 4904 @ 4580

Output: 19296


Input: Consider Input: 6704 @ 69 @ 617 @ 7950 # 7615 @ 9447 # 8908

Output: 8264


Input: Consider Input: 899 @ 6724 @ 6350 # 9203 # 813


Output: 3957