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:
6050 # 5266 # 3005

Ex Output:
-2221


Ex Input:
8280 # 2607 # 4185 # 9243 @ 9839

Ex Output:
2084


Ex Input:
5440 # 8766 # 4796 @ 1073 @ 4769 # 6559 @ 8929

Ex Output:

90