The fourth-grade mathematics competition held by our school last year had 25 questions in total. For every correct question, 4 points were awarded, and 2 points were deducted for every wrong question. Xiao Ming got 82 points in total. How many questions did he get right?
我校去年举办的四年级数学竞赛试卷，共有25道题，每做对一道题得4分，不做或做错一道题扣2分，小明共得82分，他做对几道题？
<gadget id="calculator">4 * 25</gadget>
<output>100</output>

<gadget id="calculator">100 - 82</gadget>
<output>18</output>

<gadget id="calculator">4 + 2</gadget>
<output>6</output>

<gadget id="calculator">18 / 6</gadget>
<output>3</output>

<gadget id="calculator">25 - 3</gadget>
<output>22</output>

<result>22</result>