Six students in the second grade participated in the mathematics competition, 12 less than the third grade. How many people participated in the mathematics competition in the third grade? How many times as many people in the third grade participated as in the second grade?
二年级参加数学竞赛6人，比三年级少12人，三年级参加数学竞赛多少人？三年级参加的人数是二年级的几倍？
<gadget id="calculator">6 + 12</gadget>
<output>18</output>

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

<result>3</result>