The number of the school gymnastics team is more than 30 and less than 50. Divide them into 6 groups on average, or divide them into 9 groups on average, and they are all just finished. How many people are there in the gymnastics team?
学校体操队的人数比30人多，比50人少．把他们平均分成6组，或平均分成9组，都正好分完．体操队有多少人．
<gadget id="calculator">18 * 2</gadget>
<output>36</output>

<result>36</result>