In the fourth grade, there will be a mathematics competition. 10 points will be added for 1 correct answer, and 10 points will be deducted for 1 wrong answer. There are 20 questions in total. Xiao Ming scored 160 points, how many did he get right?
四年级进行数学竞赛活动，答对1题加10分，答错1题扣10分，共20道．小明得分为160分，他做对了几道？
<gadget id="calculator">10 + 10</gadget>
<output>20</output>

<gadget id="calculator">10 * 20</gadget>
<output>200</output>

<gadget id="calculator">200 - 160</gadget>
<output>40</output>

<gadget id="calculator">40 / 20</gadget>
<output>2</output>

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

<result>18</result>