robodude wrote:Its really simple. The person at the back can see everyone, so he knows what hat he has on. Then the next person, hearing what hat the last person has on, can deduce what color hat he has on, and so on. Here's a harder version of that puzzle:
A man goes around the world and captures the four smartest people. He then places them in front of a wall in the following way: Man 1 faces one side of the wall. Man 2 faces the other side of the wall. Man 3 faces Man 2's back, and Man 4 faces Man 3's back in such a way: 1> |Wall| <2

<4 The arrows show which way they are facing. The man who kidnapped them then places either a black or red hat on each person, as followes: R |Wall| B R B The hat colors correspond to the first "diagram." Everyone knows that there are 2 red hats and 2 black hats. The man who kidnapped them then gives everyone the following instructions:
"You may not communicate in any manor. If you do, everyone will be killed."
"If you cheat by looking at your hat, everyone will be killed."
"If you turn around or look in any direction other than straight forward, everyone will be killed."
"If no one can correctly figure out the color of their hat in two minutes, everyone will be killed."
"If even one person can figure out the color of their hat, everyone will live."
After a minute and a half, someone correctly shouted out the color of their hat.
Who was it, and
how did they figure it out?
I hope I was clear enough, I'll answer any questions anyone has.