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: 7773 @ 3264 # 8041 @ 4068 # 5476 # 5946 # 8987 # 7719

Output: -21064


Input: Consider Input: 3337 @ 9906 @ 9733 # 853 @ 5075 # 2064 @ 9450 # 3886

Output: 30698


Input: Consider Input: 5162 # 9401 @ 9409 @ 9726 @ 1971 # 3005 @ 2760 @ 1 # 2451


Output: 14172