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:
1296 @ 9756 @ 2493 @ 9940 # 5147 # 5428 # 5741 # 828

Ex Output:
6341


Ex Input:
8625 @ 3267 # 2323 # 3569

Ex Output:
6000


Ex Input:
200 @ 355 @ 2175 @ 7379 @ 6080 # 8358 @ 5571 # 3725

Ex Output:

9677