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: 3839 # 8343 # 3366 @ 9432 @ 4687 @ 2441 # 89

Output: 8601


Input: Consider Input: 7686 @ 8753 @ 1402 # 3760 # 9121 @ 5705 @ 9002

Output: 19667


Input: Consider Input: 5259 # 2849 # 8341 @ 1515 @ 1130 @ 2884 @ 9841 # 5110


Output: 4329