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:
2377 @ 4500 # 8359 @ 9946 # 9011

Ex Output:
-547


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

Ex Output:
-8709


Ex Input:
3170 @ 6043 # 9083 # 5881 @ 1346

Ex Output:

-4405