The school buys some books and puts them on 8 bookshelves. The first 7 bookshelves hold 104 books on average, and the last bookshelf holds 96 books. How many books did the school buy in total?
学校买来一些书，把它分别放在8个书架上，前7个书架平均每个书架放104本书，最后一个书架上放了96本书．学校总共买了几本书？
<gadget id="calculator">104 * 7</gadget>
<output>728</output>

<gadget id="calculator">728 + 96</gadget>
<output>824</output>

<result>824</result>