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:
5245 # 2258 @ 1333 # 9626 @ 7040 @ 9804

Ex Output:
11538


Ex Input:
6120 # 9271 # 7167 @ 6916 # 2510 @ 7854 # 7909 # 1960 # 3775

Ex Output:
-11702


Ex Input:
1153 # 3190 @ 9845 @ 1585 @ 6966 @ 9148 # 3715

Ex Output:

21792