Okay all you thinkers, here is a riddle for you:
A prison was overcrowded and the warden decided to free a prisoner. But he wanted someone to earn their way out.
So he brought in three prisoners to his office and said, "Behind you is a guard with a duffel bag containing five hats.
Three are black, and two are red. He will put one on each of your heads at random.You will not be able to see the hat
on your own head but you can see the hats on other prisoners. If you can tell me the color of your hat, I will pardon you
immediately. But you must not guess. You agree that if you guess and are wrong, you will be shot immediately.
All agree.
First prisoner: I can't tell.
Second prisoner: I don't know.
Third prisoner who is blind: I know.
Does he? Explain.
First prisoner could not have seen two red hats, lest he would know his hat was black.
Second prisoner would then know that either his hat or the third prisoner's hat was black (or both). If he sees a red hat on the third prisoner, then he knows his hat is black. Thus, the third prisoner must be wearing a black hat.