In certain class the ratio of men to women is 3:5. If the class has 24 people in it, how many are women?

A. 9

B. 12

C. 15

D. 20