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:
6844 @ 1340 # 4174 # 5664 @ 4911 # 5241

Ex Output:
-1984


Ex Input:
3249 @ 313 @ 7029 @ 5721 @ 7626

Ex Output:
23938


Ex Input:
955 @ 6975 # 1740 @ 4859 # 4608 # 6700

Ex Output:

-259