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:
3351 @ 1445 @ 5875 # 1267 # 4225 @ 4098 @ 3552

Ex Output:
12829


Ex Input:
3275 # 8948 # 7571 @ 9566 @ 9874 @ 3226

Ex Output:
9422


Ex Input:
5941 # 5542 # 2888 @ 8030 @ 7166

Ex Output:

12707