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: 6628 @ 7709 @ 528 @ 8813

Output: 23678


Input: Consider Input: 6543 @ 9353 @ 2169 # 4681 @ 6446

Output: 19830


Input: Consider Input: 6481 @ 7589 @ 3547 # 3632 # 3306 @ 5740 # 6814


Output: 9605