Class 1 students went on a spring outing. They originally planned to take a small car, but 6 seats were vacant. Later, 38 students in class two decided to go on a spring outing with class one, so the students in class two changed to a large bus, but it was necessary to send an extra car, and four seats were vacant. It is known that there are 12 people per car in a big car and 8 people in a car in a small car. Find the number of people in one class.
一班的同学去春游，原计划乘坐小车，还空出6个座位．后来二班的38个同学决定和一班同学一起去春游，于是两班的同学换乘大车，结果需要多派一辆车，并且还空出4个座位．已知大车每车坐12人，小车每车坐8人，求一班的人数．
<gadget id="calculator">24 / 4</gadget>
<output>6</output>

<gadget id="calculator">8 * 6</gadget>
<output>48</output>

<gadget id="calculator">48 - 6</gadget>
<output>42</output>

<result>42</result>