class of 30 to 50 students is divided into groups of 6, 8, and 12 during gymnastics performances. There is always one less student in each group. How many students are there in this class?
一班学生，人数在30至50之间，在体操表演时，分做6人一行，8人一行，12人一行，总是有一行少一个人，这班学生有多少人？
<result>47</result>