Students in Class 3, Grade 5 line up to do exercises. Each line has 8 people, and 10 people can form a rectangle. It is known that the number of students in this class is between 30 and 50. How many students are there in this class?
五年级3班的学生排队做操，每行8人，10人都能排成长方形，已知这个班学生人数在30-50人之间，那么这个班有学生多少人？
<gadget id="calculator">2 * 2 * 2 * 5</gadget>
<output>40</output>

<result>40</result>