The three hats
✓ With solution
Three friends in a line, each wearing a hat he can't see. Two of them say "I don't know", and then the third knows his hat's colour. How?
Adam, Bilal and Jad stood in a line, one behind the other, all facing forward. Jad, at the back, can see Bilal and Adam; Bilal, in the middle, can see only Adam; Adam, at the front, can't see anyone. The teacher showed them five hats: three white and two black. Then he put a hat on each boy's head without letting him see it, and hid the two hats left over. Nobody can see his own hat, and nobody turns round. The teacher asked Jad: "Do you know the colour of your hat?" He said: "No." Then he asked Bilal, who also said: "No." Then he asked Adam, who said: "Yes, I know!"
What colour is Adam's hat?
- AWhite
- BBlack
- CIt can't be worked out
Show the answer
Answer: A) White. Start with Jad: when would he know his colour? Only if he saw two black hats in front of him: both black hats would be used up, so his own would have to be white. He said "No", so Bilal and Adam are not both wearing black. Bilal heard that and understood it. If he had seen a black hat on Adam, he'd have known straight away that his own was white, since they can't both be black. But he said "No", so Adam's hat isn't black. Adam, who can't see anyone, worked all of this out and knew his hat was white.
Can Adam also tell what colour Bilal's hat is?
- AYes, it's white
- BYes, it's black
- CNo, it could be white or black
Show the answer
Answer: C) No, it could be white or black. All Adam learned from the two answers is that his own hat is white. With a white hat on Adam, Jad's "No" and Bilal's "No" both make sense whether Bilal's hat is white or black: Jad doesn't see two black hats, and Bilal sees white on Adam and can't decide. Both cases are possible, so Adam can't tell Bilal's colour. (Jad's hat could be either colour too.)

Never miss a puzzle
Subscribe to Khamantiq on YouTube and turn on the bell to get new puzzles first.