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: 9337 # 8816 @ 7801 @ 8011 @ 8821 @ 966 @ 1854

Output: 27974


Input: Consider Input: 2377 @ 4500 # 8359 @ 9946 # 9011

Output: -547


Input: Consider Input: 6946 @ 6834 # 1169 @ 9756 @ 2063 # 4750 # 425 @ 1121 @ 8155


Output: 28531