There are more than 40 students practicing gymnastics. If 6 people stand in a row, the number of people in each row is exactly equal. If 7 people stand in a row, it happens that the number of people in each row is equal. How many students are there practicing gymnastics?
有40多位同学练体操．如果6人站一排，正好每排人数相等，如果7人站一排，也正好每排人数相等，练体操的同学有多少人？
<gadget id="calculator">6 * 7</gadget>
<output>42</output>

<result>42</result>