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: 1949 @ 526 @ 1777 @ 8065 @ 2790 # 1800 # 486 @ 229 @ 7738

Output: 20788


Input: Consider Input: 2821 @ 5327 # 3350 # 3607 @ 7010 @ 6824 # 9975 # 38

Output: 5012


Input: Consider Input: 1202 @ 1013 @ 9541 @ 5771 # 864


Output: 16663