A bag contains $4$ mangoes and $5$ oranges. In how many ways can I make a selection so as to take at least one mango and one orange?
In my book it is given $(2^4-1)(2^5-1)$ I understood $1$ is subtracted because if no mango is chosen. But why is it $2^4$ and $2^5$?
Please help.