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: 2821 @ 5327 # 3350 # 3607 @ 7010 @ 6824 # 9975 # 38

Output: 5012


Input: Consider Input: 8451 # 7523 @ 454 @ 459 @ 182 @ 6187 # 2835

Output: 5375


Input: Consider Input: 7163 @ 3916 @ 4926 @ 2532 # 2743 # 5389 @ 7290


Output: 17695