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:
1508 # 9607 @ 9117 @ 1943 # 3539 # 8743 # 2584 @ 7819

Ex Output:
-4086


Ex Input:
9551 @ 4169 # 3026 @ 616 # 5398 # 6695 # 5831 # 898 # 1255

Ex Output:
-8767


Ex Input:
8276 @ 7776 # 4637 @ 1172 # 328 @ 8268

Ex Output:

20527