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:
1709 # 2270 # 1077 # 9681

Ex Output:
-11319


Ex Input:
1855 # 9818 @ 3927 @ 9533 # 8557 @ 619 # 7543 # 2844

Ex Output:
-12828


Ex Input:
9981 @ 3315 # 4893 # 4080 # 5286 # 2201 # 9444 @ 6425 @ 1951

Ex Output:

-4232