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: 6472 # 6421 @ 7649 @ 4005

Output: 11705


Input: Consider Input: 6628 @ 7709 @ 528 @ 8813

Output: 23678


Input: Consider Input: 9135 # 3687 # 8430 @ 378 # 5343 # 1208 @ 4497 # 6582 # 5208


Output: -16448