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: 8780 # 5826 # 420 @ 8814 @ 5786 # 1725

Output: 15409


Input: Consider Input: 2186 # 2436 # 4269 # 2175 @ 4101 # 2723 @ 6192 # 7530

Output: -6654


Input: Consider Input: 6357 # 316 @ 4102 @ 4294 # 894 @ 2616 @ 4587 # 1885 # 7215


Output: 11646