# Crates of Fruit Puzzle - Solution

## The Puzzle:

You work at a fruit factory.

There are 3 crates in front of you. One crate contains only apples. One crate contains only oranges. The other crate contains both apples and oranges.

And each crate is labeled. One reads "apples", one reads "oranges", and one reads "apples and oranges".

But the labeling machine has gone crazy and is now labeling all boxes incorrectly.

If you can only take out and look at just one of the pieces of fruit from just one of the crates, how can you label ALL of the crates correctly?

There are 3 crates in front of you. One crate contains only apples. One crate contains only oranges. The other crate contains both apples and oranges.

And each crate is labeled. One reads "apples", one reads "oranges", and one reads "apples and oranges".

But the labeling machine has gone crazy and is now labeling all boxes incorrectly.

If you can only take out and look at just one of the pieces of fruit from just one of the crates, how can you label ALL of the crates correctly?

## Our Solution:

Take a piece of fruit from the "apples and oranges" crate. If it's an apple then you know that is the "apples" crate since ALL THE CRATES ARE LABELED INCORRECTLY. This means the crate marked "apples" must be "oranges" and the crate marked "oranges" must be "apples and oranges".