In the "Wisdom Star" math quiz contest, 10 points are awarded for a correct answer, and 6 points are deducted for a wrong answer. Lili answered 12 questions in total and scored 40 points in the end. How many questions did she get wrong?
在"智慧星"数学抢答赛中，答对一题加10分，答错一题扣6分，丽丽共抢答了12题，最后得分40分，她答错了几题？
<gadget id="calculator">12 * 10</gadget>
<output>120</output>

<gadget id="calculator">120 - 40</gadget>
<output>80</output>

<gadget id="calculator">10 + 6</gadget>
<output>16</output>

<gadget id="calculator">80 / 16</gadget>
<output>5</output>

<result>5</result>