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:
605 @ 9301 @ 640 # 9148 # 8015

Ex Output:
-6617


Ex Input:
9407 @ 4324 # 2220 # 8668 @ 1606 @ 4059

Ex Output:
8508


Ex Input:
463 @ 7844 # 9816

Ex Output:

-1509