7. (4 points) In an opaque cloth bag, there are 10 chopsticks each of black, white, and yellow colors. The minimum number of chopsticks to be taken out to ensure that there is a pair of chopsticks of the same color is $\qquad$.