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:
2030 # 4671 # 6277 @ 7403 @ 211 @ 1842 # 9247

Ex Output:
-8709


Ex Input:
1949 @ 526 @ 1777 @ 8065 @ 2790 # 1800 # 486 @ 229 @ 7738

Ex Output:
20788


Ex Input:
8541 @ 3477 @ 1197 @ 5118 @ 2782 # 6701 # 7569 @ 4034 # 9783

Ex Output:

1096