In a middle school, there are no more than 400 students. All the students line up. If there are 2 people in a row, there will be one more person. If you change it to 3 people, 4 people, 5 people, or 6 people in a row, there will be one more person. A group of 7 people happens to be no more and no less. How many students are there in this middle school?
一个中学，学生不超过400人，全体学生排队，2人排一行多出1人，改为3人、4人、5人、6人排一行，也都多出一人．7人一行却正好不多也不少，这个中学到底有多少学生？
<gadget id="calculator">2 * 3 * 5 * 2</gadget>
<output>60</output>

<gadget id="calculator">60 * 5</gadget>
<output>300</output>

<gadget id="calculator">300 + 1</gadget>
<output>301</output>

<result>301</result>