I'm trying to understand how to calculate probability that one of drawn elements is of certain type, for example:
$|\Omega| = 40$ where $24$ elements are of type $X$ and $16$ are of type $Y$, so $$\Omega = \{X_{1},\dots,X_{i},Y_{1},\dots, Y_{j};i=24;j=16\}$$
You draw $7$ elements without replacement. What is the probability that at least $1$ of drawn elements is of type $X$?
I know answer for drawing a single element, then it is just $\frac{24}{40}$, but for multiple elements I have completely no clue.
Also let me know if my question is hard to understand, English is not my first language.