Riddle: There are four prisoners. All four prisoners will be freed if at least one of them correctly guesses the color of the hat on his head.

They can’t speak to each other, and they can’t touch each other.

Number 1 sees number 2 and 3’s hats.

Number 2 sees number 3’s hat.

Number 3 sees only the wall.

Number 4 sees only the wall.

There are no mirrors.

They all know that there are 2 black hats and 2 white hats and that there are four people.

They know their placement in this room is as shown in the pic attached.

Can the four prisoners be freed? If so, how?

Answer: Prisoner (2) is the right person for freedom.

if prisoner(2)’s hat is not opposite prisoner(3). then prisoner(1) gave the right answer.

bcoz if prisoner (2)’s and prisoner(3)’s hat is the same color then prisoner(1)’s hat will opposite color…

bcoz hats count is 2white and 2black.

So prison(2)’s hat and prisoner(3)’s hat will not the same color.

then prisoners(2) never know the hat color then so he will.

then prisoner(2) will just know that his hat is the opposite color of prisoner(3)’s hat.

Then prison(2) gave always right answered