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:
5010 # 2117 @ 6121 # 6244 @ 1089 @ 5871

Ex Output:
9730


Ex Input:
5175 # 1386 # 5328 # 898 @ 5361 # 376 @ 1286 @ 861

Ex Output:
4695


Ex Input:
3342 # 6832 @ 2095

Ex Output:

-1395