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:
6322 # 7953 # 5 @ 7093 @ 5659 @ 5045 # 904

Ex Output:
15257


Ex Input:
6628 @ 7709 @ 528 @ 8813

Ex Output:
23678


Ex Input:
6189 # 315 # 7626

Ex Output:

-1752