In the comprehensive knowledge quiz, 10 points will be awarded for each correct answer, and 4 points will be deducted for each wrong answer. Wang Liang answered 10 questions in total and scored 58 points in the end. How many questions did he answer correctly?
综合知识抢答赛，答对一题加10分，答错一题扣4分，王亮共抢答了10道题，最后得分58分，他答对了几道题？
<gadget id="calculator">10 * 10</gadget>
<output>100</output>

<gadget id="calculator">100 - 58</gadget>
<output>42</output>

<gadget id="calculator">10 + 4</gadget>
<output>14</output>

<gadget id="calculator">42 / 14</gadget>
<output>3</output>

<gadget id="calculator">10 - 3</gadget>
<output>7</output>

<result>7</result>