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:
7165 @ 3630 @ 9021 # 4140 @ 319

Ex Output:
15995


Ex Input:
7252 # 8553 # 4853 @ 6748 # 3750

Ex Output:
-3156


Ex Input:
3037 # 6680 @ 8993 # 9291 # 2971

Ex Output:

-6912