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: 5245 # 2258 @ 1333 # 9626 @ 7040 @ 9804

Output: 11538


Input: Consider Input: 1199 # 1369 @ 4358 # 7803 @ 410 @ 1295 @ 4397 # 9436 @ 5291

Output: -1658


Input: Consider Input: 6872 @ 9293 # 9798


Output: 6367