Suppose of all possible ways to choose two representatives among 10 students in a class, there are exactly $30$ different ways to choose one or more female as a representative. How many males are there in the class?

Your answer seems reasonable.
Find out if you're right!