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:
7217 @ 2604 @ 9974 @ 8133 @ 8987 # 6381 # 7662

Ex Output:
22872


Ex Input:
6733 # 361 @ 8396 @ 7920 @ 7915 # 1370 @ 5576 # 1321 @ 343

Ex Output:
33831


Ex Input:
5305 @ 2391 # 9339 # 8819 @ 2784 # 2103 # 4613 # 8856

Ex Output:

-23250