A class of students consists of 18 female and 12 male. What would be the probability of selecting 2 students from this class without replacement and selecting one male and one female?

I know the answer is 0.496 (according to the textbook) but I'm not sure how to obtain this!