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

Input: Consider Input: 2416 @ 4557 @ 9089 @ 8858

Output: 24920


Input: Consider Input: 8571 # 5985 @ 8912

Output: 11498


Input: Consider Input: 8859 @ 8027 @ 4466 @ 8341 @ 3657 @ 8145 # 5900 @ 1651


Output: 37246