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:
8643 @ 7199 @ 504 # 8068 # 8187 # 1584 @ 6422

Ex Output:
4929


Ex Input:
6844 @ 1340 # 4174 # 5664 @ 4911 # 5241

Ex Output:
-1984


Ex Input:
1558 @ 3080 @ 3022 @ 1756

Ex Output:

9416