There are no more than 50 students in class A of the sixth grade in a certain school. In a test, (1/7) students get grade A, (1/3) students get grade B, and (1/2) Some of the students got grade C, and the rest of the students failed. Q: How many students are there in this class?
某校六年级甲班有学生不超过50人，在一次测试中，有(1/7)的同学获甲级成绩，有(1/3)的同学获乙级成绩，有(1/2)的同学获丙级成绩，余下的同学便是不及格．问：该班有多少学生？
<gadget id="calculator">2 * 3 * 7</gadget>
<output>42</output>

<result>42</result>