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:
2057 # 2330 # 9059 # 2713 # 7404 @ 4349

Ex Output:
-15100


Ex Input:
5098 # 2466 @ 6132 # 7008 @ 2142 # 5650 @ 531

Ex Output:
-1221


Ex Input:
8441 @ 7713 # 9394 @ 2405 @ 9325 # 5771 @ 5567

Ex Output:

18286