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:
7534 @ 7329 # 2862 # 947 @ 8590 @ 4064

Ex Output:
23708


Ex Input:
9645 @ 911 @ 6748 # 3005 # 3625 # 87 @ 3003 # 5587 # 1382

Ex Output:
6621


Ex Input:
5986 @ 9293 @ 3288 # 1791 @ 6613 @ 8185 # 7053

Ex Output:

24521