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:
2182 @ 8380 # 337

Ex Output:
10225


Ex Input:
345 @ 1076 @ 7948 # 854

Ex Output:
8515


Ex Input:
8434 # 4554 # 213 # 1126 # 1498 # 5323 # 5448 # 3676 # 4084

Ex Output:

-17488