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 @ 8830 # 8139 # 5532 @ 9493 # 2897 # 3370 @ 2698 @ 3260

Output: 6207


Input: Consider Input: 1919 @ 7586 # 3931 @ 8451 # 8366

Output: 5659


Input: Consider Input: 1998 @ 1433 @ 6924 @ 4725 @ 8112 @ 4658


Output: 27850


