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:
5191 # 7400 @ 7319 # 5932 @ 662 @ 1546

Ex Output:
1386


Ex Input:
931 # 9775 @ 8414

Ex Output:
-430


Ex Input:
2131 # 1460 @ 4477 @ 5944 # 7254 @ 1023 @ 8014 @ 4369 # 5062

Ex Output:

12182