There are 10 questions in a mathematics competition, and the scoring stipulates that 10 points will be awarded for one question, and 2 points will be deducted for one wrong question. Xiao Ming answered all 10 questions, but only scored 76 points. How many questions did he answer correctly?
一次数学竞赛有10道题，评分规定对一道题得10分，错一题倒扣2分．小明回答了全部10道题，结果只得了76分，他答对了多少道题．
<gadget id="calculator">10 * 10</gadget>
<output>100</output>

<gadget id="calculator">100 - 76</gadget>
<output>24</output>

<gadget id="calculator">10 + 2</gadget>
<output>12</output>

<gadget id="calculator">24 / 12</gadget>
<output>2</output>

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

<result>8</result>