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:
9807 @ 9345 # 5133 # 8042 @ 1499 # 8153 # 638

Ex Output:
-1315


Ex Input:
8603 @ 6832 @ 2275 # 7856

Ex Output:
9854


Ex Input:
9345 @ 7190 @ 8280 # 2426 # 6746 # 9326 @ 7294 @ 1332 @ 5825

Ex Output:

20768