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:
1463 @ 3742 @ 6816 @ 2090 @ 7068 @ 283 # 5740 @ 4067

Ex Output:
19789


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

Ex Output:
23938


Ex Input:
2836 @ 7118 @ 2680 # 532 # 3848 @ 8386

Ex Output:

16640