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:
9336 # 483 # 2765

Ex Output:
6088


Ex Input:
2030 # 4671 # 6277 @ 7403 @ 211 @ 1842 # 9247

Ex Output:
-8709


Ex Input:
1212 # 7338 @ 3161 @ 122 # 5467 @ 9433 # 4105

Ex Output:

-2982