There is a basket full of hats. 3 of them are white and 2 of them are black. There are 3 men Tom, Tim, and Jim. They each take a hat out of the basket and put it on their heads without seeing the hat they selected or the hats the other men selected. The men arrange themselves so Tom can see Tim and Jim's hats, Tim can see Jim's hat, and Jim can't see anyone's hat. Tom is asked what color his hat is and he says he doesn't know. Tim is asked the same question, and he also doesn't know. Finally, Jim is asked the question, and he does know. What color is his hat?
The hat is white. If Tom doesn't know his hat color then the other two men's hats cannot be both black otherwise he would know his is white. When Tim doesn't know his hat color either, that means Jim's hat could not be black otherwise Tim would have to kn