The students had a broadcasting exercise competition, and the whole class happened to be arranged in 6 equal rows. Xiaohong is in the second row. Counting from the beginning, she stands in the fifth position, and counting from the back, she stands in the third position. How many people are there in this class?
同学们进行广播操比赛，全班正好排成相等的6行．小红排在第二行，从头数，她站在第5个位置，从后数她站在第3个位置，这个班共有多少人．
<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">4 + 2 + 1</gadget>
<output>7</output>

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

<result>42</result>