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: 6607 @ 8561 @ 5571 # 6468 @ 8173 # 7134 @ 2102 # 7688

Output: 9724


Input: Consider Input: 8293 # 4243 # 6119 @ 5292

Output: 3223


Input: Consider Input: 5085 @ 8015 # 3893 @ 9577 @ 103 # 2174 # 8908 @ 5690


Output: 13495


