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:
4844 # 7776 # 6204 # 1027 # 4447 # 7998 # 6045 @ 8611 @ 2765

Ex Output:
-17277


Ex Input:
8732 # 4760 @ 9372

Ex Output:
13344


Ex Input:
5189 # 8154 @ 7859 # 6218

Ex Output:

-1324