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:
1559 # 9981 # 6881

Ex Output:
-15303


Ex Input:
4558 @ 6469 @ 1154

Ex Output:
12181


Ex Input:
1009 @ 3008 @ 5170 @ 5314

Ex Output:

14501