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:
7534 @ 7329 # 2862 # 947 @ 8590 @ 4064

Ex Output:
23708


Ex Input:
8916 # 6070 # 4406 # 1732 # 434 @ 143 # 9650 @ 8419 # 4599

Ex Output:
-9413


Ex Input:
2894 # 512 @ 9841 # 3368 @ 8492

Ex Output:

17347