The school bought back a batch of books and distributed them to 18 classes. After an average of 47 books per class, there was only one book left. How many books are there in total?
学校买回一批图书，分给18个班，平均每个班分得47本后，还剩下1本．这批图书一共有多少本？
<gadget id="calculator">47 * 18</gadget>
<output>846</output>

<gadget id="calculator">846 + 1</gadget>
<output>847</output>

<result>847</result>