There are 5 red balls, 10 blue balls, 8 green balls and 9 black balls in a bag. What is the minimum number of balls to be taken out of the bag to assure that you have all the balls of one color?	Pick one.
A) 10
B) 29
C) 43
D) 40
E) 16
The worst case scenario would be if we pick 4 red balls, 9 blue balls, 7 (?) balls and 8 black balls. In this case we'll have  4+9+7+8= 
<gadget id="calculator"> 4+9+7+8</gadget>
<output>28</output>
28 balls and still won't have all the balls of one color. The next 29rd ball we pick, no matter which color it'll be, will guarantee that we have all the balls of one color.   Answer: 29.
<result>B</result>
There are 5 red balls, 10 blue balls, 8 green balls and 9 black balls in a bag. What is the minimum number of balls to be taken out of the bag to assure that you have all the balls of one color?