Class 2 of the sixth grade held a mathematics competition. There were 20 questions in total. It was stipulated that 5 points would be awarded for each correct answer, and 8 points would be deducted for each question that was not answered or answered incorrectly. He obviously scored 74 points. How many questions did he answer correctly in total?
六年级2班举行数学竞赛，一共20道题，规定答对一道得5分，不答或者答错一题扣8分，明明得了74分，请问他一共答对了几道题？
<gadget id="calculator">20 * 5</gadget>
<output>100</output>

<gadget id="calculator">100 - 74</gadget>
<output>26</output>

<gadget id="calculator">8 + 5</gadget>
<output>13</output>

<gadget id="calculator">26 / 13</gadget>
<output>2</output>

<gadget id="calculator">20 - 2</gadget>
<output>18</output>

<result>18</result>