A certain college party is attended by both male and female students. The ratio of male to female students is 4 to 5. If 9 of the male students were to leave the party, the ratio would change to 1 to 2. How many total students are at the party?  Select the correct option:
A) 46  B) 50  C) 54  D) 58  E) 62
The ratio is 4:5 = 8:10, so there are 8k males and 10k females.   If 9 males left, the ratio would be 1:2 = 5:10, so there would be 5k males and 10k females.   8k-5k = 9   k = 3   8k + 10k = 24 + 30= 
<gadget id="calculator">24 + 30</gadget>
<output>54</output>
54   The answer is 54.
<result>C</result>
A certain college party is attended by both male and female students. The ratio of male to female students is 4 to 5. If 9 of the male students were to leave the party, the ratio would change to 1 to 2. How many total students are at the party?