Question 252490
Here's the worst case scenario:


First, she pulls out all 8 red jellybeans. So she has taken out all of the red jellybeans. Then she either pulls out 4 consecutive green or blue jellybeans (either one or the other but not both colors). So far, she's pulled out 8+4=12 jellybeans total. To ensure that she has taken at least one of each color, she'll need to pull out at least one more (either blue or green) since there is only one color left. 



So in total, she'll have to pull out minimum of 8+4+1=13 jellybeans to ensure that she has at least one of each color.