There are 10 questions in a certain mathematics competition. 10 points are awarded for a correct answer, and 5 points are deducted for a wrong answer. If Xiaoping gets 70 points, how many questions did Xiaoping answer correctly?
某次数学竞赛共有10道题．答对一题得10分，答错一题倒扣5分，若小平得了70分，那么小平答对了几道题？
<gadget id="calculator">5 * 10</gadget>
<output>50</output>

<gadget id="calculator">50 + 70</gadget>
<output>120</output>

<gadget id="calculator">10 + 5</gadget>
<output>15</output>

<gadget id="calculator">120 / 15</gadget>
<output>8</output>

<result>8</result>