Produce a batch of parts, after inspection, the ratio of the number of qualified parts to the number of unqualified parts is 7:1, after a second inspection, it is found that 10 parts are unqualified, and the ratio of the number of qualified parts to the number of unqualified parts is 5 :1. How many parts are there in total?
生产一批零件，经过检验，合格个数与不合格个数的比7：1，后经过二次检验，发现又有10个不合格，这时合格个数与不合格个数的比为5：1．这批零件一共有多少个？
<gadget id="calculator">7 + 1</gadget>
<output>8</output>

<gadget id="calculator">7 / 8</gadget>
<output>7/8 = around 0.875</output>

<gadget id="calculator">5 + 1</gadget>
<output>6</output>

<gadget id="calculator">5 / 6</gadget>
<output>5/6 = around 0.833333</output>

<gadget id="calculator">(7/8) - (5/6)</gadget>
<output>1/24 = around 0.041667</output>

<gadget id="calculator">10 / (1/24)</gadget>
<output>240</output>

<result>240</result>