A king wants to find the wisest person in his land. He sits three philosophers in a circle, facing each other. He shows them five hats: three red hats and two blue hats.
He then blindsfolds the men, places a red hat on each of their heads, and hides the blue hats. When he removes the blindfolds, each man can see the other two men's hats, but cannot see his own.
The king says: "The first person to logically deduce the color of their own hat wins.
"For a long time, the room is completely silent. Suddenly, one wise man stands up and correctly says: "My hat is red.
"How did he know?
R. Jamil

