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:
331 # 9967 @ 21 @ 480 # 3926 @ 8770 @ 5909 @ 6288 # 1226

Ex Output:
6680


Ex Input:
3249 @ 313 @ 7029 @ 5721 @ 7626

Ex Output:
23938


Ex Input:
1723 @ 4909 # 2093 # 2508 @ 8799 @ 6433

Ex Output:

17263