A mathematics competition consists of 10 questions, and it is stipulated that each correct answer is worth 5 points, and 2 points are deducted for wrong answers or no answers. A and B answer the questions separately, the sum of the scores is 58 points, A gets 14 points more than B, how many questions does A answer correctly?
某数学竞赛由10道题，规定每答对一题得5分，答错或不答扣2分．A、B两人各自答题，得分之和是58分，A比B多得14分，则A答对多少道题．
<gadget id="calculator">10 * 5</gadget>
<output>50</output>

<gadget id="calculator">58 + 14</gadget>
<output>72</output>

<gadget id="calculator">72 / 2</gadget>
<output>36</output>

<gadget id="calculator">50 - 36</gadget>
<output>14</output>

<gadget id="calculator">5 + 2</gadget>
<output>7</output>

<gadget id="calculator">14 / 7</gadget>
<output>2</output>

<gadget id="calculator">10 - 2</gadget>
<output>8</output>

<result>8</result>