There are 12 red balls, 10 blue balls, 12 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?  Options
A) 10 B) 23 C) 43 D) 40 E) 16
The worst case scenario would be if we pick 11 red balls, 9 blue balls, 11 (?) balls and 8 black balls. In this case we'll have  11+9+11+8= 
<gadget id="calculator"> 11+9+11+8</gadget>
<output>39</output>
39 balls and still won't have all the balls of one color. The next 40rd ball we pick, no matter which color it'll be, will guarantee that we have all the balls of one color.   Answer: 40
<result>D</result>
There are 12 red balls, 10 blue balls, 12 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?