After losing the "Spot on the Forehead" contest, the two defeated Puzzle Masters complained that the winner had made a slight pause before raising his hand, thus derailing their deductive reasoning train of thought. And so the Grand Master vowed to set up a truly fair test to reveal the best logician amongst them.
He showed the three men 5 hats - two white and three black. Then he turned off the lights in the room and put a hat on each Puzzle Master's head. After that the old sage hid the remaining two hats, but before he could turn the lights on, one of the Masters, as chance would have it, the winner of the previous contest, announced the color of his hat. And he was right once again.
What color was his hat? What could have been his reasoning?