🔴 Riddle #58 of 240
Three prisoners stand in a line, all facing forward. The warden has three black hats and two white hats; he places one hat on each head and hides the spare two. The prisoner at the back sees the two hats in front, the middle prisoner sees one, the front prisoner sees none. The back prisoner says, "I don't know my colour." The middle prisoner then says, "I don't know mine either." The front prisoner immediately announces his colour — correctly. What is it, and how does he know?
Think about it first. When you're ready:
If the two front hats were white the back man would have known his own was black, so his silence rules that out; the middle man, seeing a white front hat, would then know his own was black, so his silence means the front hat is black (confirmed by an epistemic simulation).