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

Ex Input:
331 # 9967 @ 21 @ 480 # 3926 @ 8770 @ 5909 @ 6288 # 1226

Ex Output:
6680


Ex Input:
2560 @ 144 @ 6785 @ 572 # 5190 @ 1929

Ex Output:
6800


Ex Input:
5069 # 4270 @ 8421 @ 131 @ 8390 @ 6467 # 3946 # 9029

Ex Output:

11233