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: 6322 # 7953 # 5 @ 7093 @ 5659 @ 5045 # 904

Output: 15257


Input: Consider Input: 9407 @ 4324 # 2220 # 8668 @ 1606 @ 4059

Output: 8508


Input: Consider Input: 5463 # 1534 @ 9742 @ 6131 # 6628 # 3959 @ 588 # 9433 # 9896


Output: -9526


