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: 120 # 2644 @ 4589

Output: 2065


Input: Consider Input: 8905 @ 324 @ 4704 # 4659 # 6573 @ 1674 @ 6749 @ 2657 # 1016


Output: 12765