The ratio of the number of males to females in Class 1, Grade 5 is 5:4. There are 24 girls. How many are there in the class?
五年级一班男、女人数的比是5：4，女生有24人，全班有多少人．
<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">24 / (4/9)</gadget>
<output>54</output>

<result>54</result>