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:
2475 # 126 @ 138 # 2303 # 5327 # 6412 # 9849 # 8474 # 6460

Ex Output:
-36338


Ex Input:
9817 @ 5042 # 1724 @ 799 @ 685

Ex Output:
14619


Ex Input:
9715 # 6597 # 9346 # 2539 @ 246 @ 9542 # 3152 @ 5781

Ex Output:

3650