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:
7127 # 5045 # 1920 # 8991 @ 8656 # 6430 @ 8803 # 7736 @ 887

Ex Output:
-4649


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

Ex Output:
7491


Ex Input:
2943 @ 6178 @ 4560 # 4331 @ 3900 @ 199 # 2537 # 5935

Ex Output:

4977