Task: Mathematics
Input (English): 5853 @ 8563 # 8877 # 5555 @ 7630 # 9515 @ 509 # 2251 @ 5871
Output (English): 2228