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:
1482 # 6461 @ 804 # 8626 # 8564

Ex Output:
-21365


Ex Input:
107 @ 2123 # 7352 # 3633 # 2414 @ 9566 # 6266

Ex Output:
-7869


Ex Input:
3778 # 7889 # 6694 # 976 # 9596 # 2251 # 1155 # 7409

Ex Output:

-32192