The school newly bought 3 boxes of volleyballs, each containing 12 volleyballs, and the price of each volleyball is 42 yuan. How much did you spend in total?
学校新买了3箱排球，每箱装12个，每个排球的价格是42元．一共花了多少元？
<gadget id="calculator">12 * 3 * 42</gadget>
<output>1_512</output>

<result>1_512</result>