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:
5142 # 5370 # 8292 @ 827 @ 9263 # 9184 @ 8692

Ex Output:
1078


Ex Input:
1446 @ 5354 # 6450 # 2821 @ 2258

Ex Output:
-213


Ex Input:
1990 @ 5084 # 6644 @ 5934 # 4512 @ 6014 @ 945 # 5368

Ex Output:

3443