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: 1864 @ 5416 @ 9408 @ 9513

Output: 26201


Input: Consider Input: 3351 @ 1445 @ 5875 # 1267 # 4225 @ 4098 @ 3552

Output: 12829


Input: Consider Input: 3721 @ 8617 # 749 # 7574 @ 6926


Output: 10941