A class consists of 17 men and 14 women. An exam is given and students are ranked according to their performance. Assume no two students obtain the same score. If all rankings are considered equally likely, what is the probability that women receive the top 4 scores?

I know that there would be 31! total orderings, which would go in the denominator, but I can't think of how the numerator should look.