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:
6467 # 8145 # 9388 # 9232

Ex Output:
-20298


Ex Input:
4264 # 4438 @ 3871 @ 7585 # 540 # 3455 # 6016

Ex Output:
1271


Ex Input:
2134 @ 3844 # 2757 # 9238 @ 8030 @ 1627 @ 2352 @ 1169

Ex Output:

7161