You have three mislabeled jars. one contains Apple jelly beans, another Orange jelly beans, and the third has a mix of both (not necessarily a 50/50 mix, could be a 1/99 mix or a 399/22 mix).
How many jelly beans would you have to pull out, and out of which jars, to find out how to fix the labels on the jars?