Teacher Wang evenly distributed 50 math books and 40 Chinese text books to the students in the first group. As a result, there were 2 math books and 4 Chinese text books. How many students can there be at most in the first group?
王老师把50本数学本和40本语文本平均分给第一小组的同学，结果数学本剩下2本，语文本剩下4本，第一小组最多有几名同学？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>