This is an old, old riddle. But I don't remember the solution -- but Google knows.
http://puzzles.nigelcoldwell.co.uk/twelve.htm
Three hats are placed on the heads of three men standing in a line. Each man can only see the men and hats in front of him. In addition, the men all know that the hats came from a bag with 3 red hats and 2 blue hats.
Each man is asked if he knows which color hat he is wearing. The man in the back responds first, "No." Then the man in the middle responds, "No." Finally, the man in front responds, "Yes."
If they are all perfectly logical and telling the truth, what color hat is the man at the front wearing?
1 answer