The weighted arithmetic mean is calculated as:
\( \text{Mean} = \frac{\sum (\text{value}) \times (\text{weight})}{\sum \text{weights}} \)
For (B) with weights \( 1, 1, 3 \):
\(\text{Mean} = \frac{10(1) + 20(1) + 30(3)}{1 + 1 + 3} = \frac{10 + 20 + 90}{5} = 24\)
Thus, the correct answer is (b).