school allocates student dormitories. If there are 6 students in each room, there will be 2 students left; if there are 8 students in each room, there will be 12 fewer students. How many students are there in accommodation?
某校分配学生宿舍，如果每个房间住6人，就剩2人；如果每个房间住8人，就少12人．问要住宿的学生有多少人？
<gadget id="calculator">2 + 12</gadget>
<output>14</output>

<gadget id="calculator">8 - 6</gadget>
<output>2</output>

<gadget id="calculator">14 / 2</gadget>
<output>7</output>

<gadget id="calculator">7 * 6</gadget>
<output>42</output>

<gadget id="calculator">42 + 2</gadget>
<output>44</output>

<result>44</result>