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:
7539 # 9710 # 800 # 5609

Ex Output:
-8580


Ex Input:
1463 @ 3742 @ 6816 @ 2090 @ 7068 @ 283 # 5740 @ 4067

Ex Output:
19789


Ex Input:
8523 # 6880 @ 4515 # 9877 # 442 @ 5709 @ 1819 # 7591

Ex Output:

-4224