The teacher asked the students to stand in a row of 7, but the students made a mistake and stood in a row of 12. As a result, there were 5 more people standing in 6 rows. How many rows should they stand in according to the teacher's order?
老师让同学们按7人一排，可同学们错站成12人一排，结果站了6排还多出5人，按老师的命令站队应该站几排？
<gadget id="calculator">12 * 6</gadget>
<output>72</output>

<gadget id="calculator">72 + 5</gadget>
<output>77</output>

<gadget id="calculator">77 / 7</gadget>
<output>11</output>

<result>11</result>