The number of children in a children's dance class in a children's palace is between 30 and 50. In an event, if there are 3 people in each group, there will be 2 more people, and if there are 5 people in each group, there will be 4 more people. How many people are there in this dance class?
某少年宫少儿舞蹈班的人数在30～50之间．在一次活动中，如果每组3人则多出2人，如果每组5人又多出4人．求这个舞蹈班有多少人？
<gadget id="calculator">36 - 1</gadget>
<output>35</output>

<result>35</result>