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: 9110 # 7535 @ 8117 # 9919 @ 6813 @ 187 # 5187

Output: 1586


Input: Consider Input: 8997 @ 8611 # 604 @ 1810 # 1906 @ 5956

Output: 22864


Input: Consider Input: 9751 # 8797 # 686 @ 76


Output: 344


