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:
3765 @ 8333 @ 5726

Ex Output:
17824


Ex Input:
7773 @ 3264 # 8041 @ 4068 # 5476 # 5946 # 8987 # 7719

Ex Output:
-21064


Ex Input:
3518 @ 1777 # 7948 @ 7727 # 9591

Ex Output:

-4517