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:
2996 @ 6178 @ 7214 # 172 # 3711

Ex Output:
12505


Ex Input:
7542 @ 5447 # 1409 # 4760 # 6595

Ex Output:
225


Ex Input:
609 # 7741 # 4312 @ 5169 # 1671 @ 8497 @ 7935 @ 2177 # 4166

Ex Output:

6497