The school bought a batch of pencil boxes as prizes, and distributed them to 24 classes on average, with 6 in each class and 16 left. How many pencil boxes did the school buy in total?
学校买来一批文具盒作奖品，平均发给24个班，每班6个，还剩下16个，学校一共买来多少个文具盒？
<gadget id="calculator">24 * 6</gadget>
<output>144</output>

<gadget id="calculator">144 + 16</gadget>
<output>160</output>

<result>160</result>