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:
931 # 5023 @ 6056 # 4419 # 1833 @ 5052 @ 1632 # 2282 @ 9337

Ex Output:
9451


Ex Input:
8997 @ 8611 # 604 @ 1810 # 1906 @ 5956

Ex Output:
22864


Ex Input:
6837 # 6976 @ 7989 # 7625 @ 5083 @ 7400 @ 1969 @ 9622

Ex Output:

24299