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: 6267 @ 3545 @ 4904 @ 4580

Output: 19296


Input: Consider Input: 8129 # 5764 @ 7961 # 2052 @ 6379

Output: 14653


Input: Consider Input: 583 @ 5061 # 4573 @ 5870 # 9744


Output: -2803