The school bought some colored pens and distributed them to 16 classes on average. Each class got 40 boxes, and there were 48 boxes left. How many boxes of colored pens did the school buy?
学校买来一些彩笔，平均分给16个班，每班分得40盒，还剩48盒．学校买来多少盒彩笔？
<gadget id="calculator">40 * 16</gadget>
<output>640</output>

<gadget id="calculator">640 + 48</gadget>
<output>688</output>

<result>688</result>