The ratio of the number of people in the first class to the second class is 5:4. It is known that there are 48 people in the second class. How many people are there in the first class and the second class?
一班和二班人数比5：4，已知二班48人，一班和二班一共有多少人？
<gadget id="calculator">5 + 4</gadget>
<output>9</output>

<gadget id="calculator">4 / 9</gadget>
<output>4/9 = around 0.444444</output>

<gadget id="calculator">48 / (4/9)</gadget>
<output>108</output>

<result>108</result>