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:
5263 @ 8483 # 8668 @ 4802 # 7388 @ 2501 @ 3137 # 8399

Ex Output:
-269


Ex Input:
9285 # 5492 @ 6629 # 5477 @ 5969 # 8754

Ex Output:
2160


Ex Input:
7608 @ 8897 # 9482 @ 5380 @ 4745 @ 3313 @ 3349 @ 8135

Ex Output:

31945