There're 20 gloves in the drawer: 5 pairs of black gloves, 3 pairs of brown, and 2 pairs of gray. You choose the gloves in the dark and can check them only after selection has been made. Determine the smallest number of gloves you need to select to guarantee getting the following?
(a) At least one matching pair
(b) At least one matching pair of each color