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: 636 # 9939 @ 3769 @ 8322 # 3343 @ 8680 # 1129 # 9882 # 3400

Output: -6286


Input: Consider Input: 634 # 6766 # 1458 # 4376 @ 9425

Output: -2541


Input: Consider Input: 7787 @ 3743 # 8244 # 3597 @ 6870 @ 8160 # 2356 @ 2880


Output: 15243