The students in class 5 and 1 lined up to do exercises, and Xiao Ming was standing in the middle. Press 1, 2, 3, 4, 5 to report the number, Xiao Ming will report 5; press 1, 2, 3, 4, 5, 6, 7 to report the number, Xiao Ming will report 4. How many people are there at least in Class 5 and 1?
五1班同学排成一行做操，小明正好站在正中间．按1，2，3，4，5循环报数，小明报数是5；按1，2，3，4，5，6，7循环报数，小明报数是4．五1班至少有多少人．
<gadget id="calculator">25 * 2</gadget>
<output>50</output>

<result>50</result>