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:
1709 # 2270 # 1077 # 9681

Ex Output:
-11319


Ex Input:
4867 # 7162 @ 1616 # 596 # 7845 @ 9594 # 3650 @ 6833

Ex Output:
3657


Ex Input:
3816 @ 8163 # 9273 @ 2037 @ 8051 @ 826

Ex Output:

13620