There are three boxes. One has apples, one has oranges and the other has apples and oranges. The boxes are labeled wrong so that no label is correct. Sue opens just one box, and without looking in the box, takes out one piece of fruit. She looks at the fruit and immediately labels all the boxes correctly. Which box did she open and how did she know?

Communicated by G. Mejia.