A TV factory produces 500 TV sets every day. In the quality evaluation, every qualified TV is scored 5 points, and every unqualified TV is deducted 18 points. If you scored 9931 points in four days, how many qualified TVs were produced in these four days?
某电视机厂每天生产电视机500台，在质量评比中，每生产一台合格电视机记5分，每生产一台不合格电视机扣18分．如果四天得了9931分，那么这四天生产了多少台合格电视机？
<gadget id="calculator">4 * 500</gadget>
<output>2_000</output>

<gadget id="calculator">4 * 500 * 5</gadget>
<output>10_000</output>

<gadget id="calculator">10_000 - 9_931</gadget>
<output>69</output>

<gadget id="calculator">18 + 5</gadget>
<output>23</output>

<gadget id="calculator">69 / 23</gadget>
<output>3</output>

<gadget id="calculator">2_000 - 3</gadget>
<output>1_997</output>

<result>1_997</result>