## Search Puzzles

### 5 Hats 2 Colors Puzzle

5 Hats 2 Colors Puzzle Solution - 12 September

In the land of Geopolizza, three men were captured by the infamous monster, The riddler. So, the riddler buries the three men, named 1, 2 and 3 in such a manner, that 1 is in the front, 2 in the middle and 3 in the back. They are buried neck deep, and cannot move, not even their heads. He shows them 5 caps, two of which are red and 3 of them are white. He then switches off the lights and places a hat on top of their heads. The situation is such that no one can see their hat color, 1 is facing the wall and cant say anything, 2 can see 1 and 3 can see both 1 and 2. Then he tells the rules of his game: "If either of you three can tell the correct color of your head, I will let all of you go. However, if any of you answer wrong, all 3 of you will instantly die. Time is 3 minutes."
Upon 2 and half minutes passing, A shouts the answer and all 3 are released free. How did he know the correct answer ?