A supermarket has a batch of notebooks with a price tag of 5 yuan. Each notebook of this kind can make a profit of 0.8 yuan. When only 40 copies are left, the sale starts at a 15% discount on the list price. All the notebooks are sold out. In the end, the total profit was 130 yuan. How many notebooks are there in this batch?
某超市有一批标价是5元的笔记本，这种笔记本每卖出一本可获利0.8元，当卖到只剩40本时，开始让利销售，按标价的八五折出售，笔记本全部卖完后，共获利130元，这批笔记本共有多少本？
<gadget id="calculator">0.8 * 40</gadget>
<output>32</output>

<gadget id="calculator">40 * 5</gadget>
<output>200</output>

<gadget id="calculator">40 * 5 * 0.85</gadget>
<output>170</output>

<gadget id="calculator">40 * 0.8</gadget>
<output>32</output>

<gadget id="calculator">130 - 170 - 32</gadget>
<output>-72</output>

<gadget id="calculator">32 + 200 + (-72)</gadget>
<output>160</output>

<gadget id="calculator">160 / 0.8</gadget>
<output>200</output>

<result>200</result>