The school purchased extracurricular books and distributed them to 14 classes. After each class distributed 45 books, there were 16 books left. How many books did the school buy in total?
学校购买课外书发给14个班，每个班发45本后，还剩16本．学校一共购买了多少本书？
<gadget id="calculator">14 * 45</gadget>
<output>630</output>

<gadget id="calculator">630 + 16</gadget>
<output>646</output>

<result>646</result>