It’s a holiday, and Xiao Ming wants to read a story book. If he reads 12 pages a day, there are 40 pages left; if he reads 16 pages a day, he can finish it 4 days in advance. How many pages does this book have?
放假了，小明要读一本故事书，如果每天看12页，还剩40页没看；如果每天看16页，可以提前4天看完．这本书共有多少页？
<gadget id="calculator">16 * 4</gadget>
<output>64</output>

<gadget id="calculator">64 + 40</gadget>
<output>104</output>

<gadget id="calculator">16 - 12</gadget>
<output>4</output>

<gadget id="calculator">104 / 4</gadget>
<output>26</output>

<gadget id="calculator">12 * 26</gadget>
<output>312</output>

<gadget id="calculator">312 + 40</gadget>
<output>352</output>

<result>352</result>