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:
3393 # 1959 # 4338 # 8197 @ 3993 # 7625 # 7892

Ex Output:
-22625


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

Ex Output:
4538


Ex Input:
3791 # 966 @ 2191

Ex Output:

5016