This question already has an answer here:

enter image description here

There are four guys standing in a line. They need to find out which color their hats are. They can't see their own hat color and only can see to the right. They can't see the person behind the seperation wall. If they know their hat color they can shout it and will win a million dollars. If they're wrong they die.

Who shouts and therefore wins the million dollars?

[ I found this puzzle on another site and thought it was worth sharing, not sure if it's allowed ]


marked as duplicate by Sven van den Boogaart, Community Apr 4 '15 at 13:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ You need to specify the constraint that there are two white and two black hats, and that the people know this $\endgroup$ – kindasimple Apr 5 '15 at 18:37

Prisoners and hats puzzle

The answer is


Since there are only two hats of each color, 1 is able to deduce his color when 2 and 3 are the same color. Though, in this situation 2 and 3 are different, so 1 doesn't shout. 2, not hearing 1 shouting, deduces that his hat is of the opposite color of 3 and shouts!


Not the answer you're looking for? Browse other questions tagged or ask your own question.