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:
8643 @ 7199 @ 504 # 8068 # 8187 # 1584 @ 6422

Ex Output:
4929


Ex Input:
5038 @ 8417 @ 7931 @ 7414 @ 5627 # 6512 # 5503

Ex Output:
22412


Ex Input:
4426 @ 3502 # 1481 # 5864 @ 7254 # 9690 # 3269 @ 1476 # 6172

Ex Output:

-9818