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: 5110 # 9803 @ 2485 # 1678

Output: -3886


Input: Consider Input: 1192 # 5752 # 5907 # 2119 # 9792 @ 917 @ 8428 # 6072 @ 592

Output: -18513


Input: Consider Input: 310 # 4741 @ 2069 @ 2831 @ 5351


Output: 5820