Question 152112
The fact that none of the jars were correctly labeled is actually the key to solving this problem.<br>
You know that, whichever jar you choose, you have to know exactly which color belongs in that jar. If you choose the red-label or green-label jars, no matter what color jelly bean you pick, you aren't sure whether it came from the mixed jar or one of the pure color jars.<br>
However, if you pick from the mixed-label jar, since you know that the jar is incorrectly labeled, whichever color you choose must be real color of the jar. If you pick a red jelly bean, the mixed-label jar is actually the red jar. If you pick a green jelly bean, the mixed-label jar is actually the green jar.<br>
Let's say that you picked a red jelly bean from this mixed-label jar. If you look around for the green-label jar, since the label has to be wrong, you already knew that it has to either be mixed or the red jar. Since it can't be the red jar (you just picked from the real red jar), it has to be the mixed jar. Therefore, the last jar, the red-label jar, has to be the green jar. Now you know the true colors of all the jars.<br>
The same logic works if you picked a green jelly bean from the mixed-label jar. From that, the red-label jar would have to be the mixed jar, and the green-label jar would have to be the red jar.