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:
4596 # 4475 # 6599

Ex Output:
-6478


Ex Input:
9188 @ 9501 # 9008 @ 1468 @ 1708

Ex Output:

12857