The number of students in classes A, B, C, and D is less than 50, and the average number of students is 46. There is a difference of 4 students between classes A and B, a difference of 3 students between classes B and C, and a difference of 2 students between classes C and D. If class A has the largest number of students, how many students are there in class A?
A，B，C，D四班学生人数的都少于50，平均人数为46，A、B两班相差4人，B、C两班相差3人，C、D两班相差2人，且A班人数最多，则A班有多少名学生．
<gadget id="calculator">46 + 2</gadget>
<output>48</output>

<result>48</result>