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:
1559 # 9981 # 6881

Ex Output:
-15303


Ex Input:
7579 @ 2801 # 7154 @ 4185 # 825 @ 4256 @ 9614

Ex Output:
20456


Ex Input:
4571 # 8862 # 5765 @ 5553

Ex Output:

-4503