There are 15 red, 14 green, and 9 yellow balls in a dark room. What is the minimum number of balls that Alicia needs to take so that at least 12 of them are the same color?

It is impossible to draw 12 yellow balls, but you could draw 11 red, 11 green, and 9 yellow without getting 12 of the same color; however, the next ball is guaranteed to give you 12 of the same color.