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:
8929 # 6145 @ 8551 # 1836 @ 9159

Ex Output:
18658


Ex Input:
5098 # 2466 @ 6132 # 7008 @ 2142 # 5650 @ 531

Ex Output:
-1221


Ex Input:
496 @ 5072 @ 6259 @ 1493 @ 4824 @ 2052 @ 4751 # 8038

Ex Output:

16909