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:
9549 @ 21 # 6714 # 2406 # 2527 # 8527 @ 1769

Ex Output:
-8835


Ex Input:
1569 @ 5170 @ 566 # 6012 @ 5001

Ex Output:
6294


Ex Input:
4586 # 6436 @ 6422 # 4088 @ 5144 # 3442

Ex Output:

2186