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:
281 @ 7793 @ 5184 # 2962 @ 4511

Ex Output:
14807


Ex Input:
8769 @ 9595 # 7775 # 3412 # 7 @ 4689 # 4368

Ex Output:
7491


Ex Input:
7588 @ 5814 @ 1602 @ 9169 # 4487

Ex Output:

19686