When entering the sports meeting of Zhenhai Yale School, the whole class happens to line up in 6 equal rows. Xiaolin is in the second row. She is the 5th from the front and the 3rd from the back. How many people are there in this class?
镇海雅乐学校的运动会入场时，全班正好排成相等的6行．小林排在第二行，从前数，她是第5个，从后数她是第3个，这个班共有多少人．
<gadget id="calculator">3 - 1</gadget>
<output>2</output>

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

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

<result>42</result>