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:
1999 # 5055 @ 6736 # 8829 @ 7010 # 2968 # 259 @ 5904

Ex Output:
4538


Ex Input:
4787 # 6151 # 6235

Ex Output:
-7599


Ex Input:
5518 @ 1126 # 9388 @ 4634 @ 3268 # 7388

Ex Output:

-2230