CAYLEY 2011 Problem 16

A gumball machine that randomly dispenses one gumball at a time contains 13 red, 5 blue, 1 white, and 9 green gumballs. What is the least number of gumballs that Wally must buy to guarantee that he receives 3 gumballs of the same color?

Answer Choices
A. 6
B. 9
C. 4
D. 7
E. 8