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:
1199 # 1369 @ 4358 # 7803 @ 410 @ 1295 @ 4397 # 9436 @ 5291

Ex Output:
-1658


Ex Input:
1999 # 5055 @ 6736 # 8829 @ 7010 # 2968 # 259 @ 5904

Ex Output:
4538


Ex Input:
4870 @ 6561 # 9473 # 8691 @ 8238 @ 8677 @ 2071 # 3005

Ex Output:

9248