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: 353 # 799 @ 4824 # 3212 @ 1811 @ 752

Output: 3729


Input: Consider Input: 192 # 4739 @ 5302 @ 6325 @ 5528 @ 1101 # 157 # 6921 @ 5541

Output: 12172


Input: Consider Input: 6040 @ 5815 @ 9288 @ 5107 @ 5697 @ 7993 # 672 @ 8297


Output: 47565