Riddle: A king issues a challenge to four of his bravest knights:
"I am going to line you up, and you are not allowed to turn around or communicate with one another."
Between Lancelot and the others, an opaque tapestry is hung. Neither Lancelot nor Galahad can see any of the other three knights. Percival can see Galahad, and Gawain can see both Percival and Galahad.
`Lancelot | Gawain Percival Galahad`
"I have four helmets here—two adorned with a white feather and two with a black feather. Close your eyes while I place them on your heads. If any one of you can tell me the color of the feather on his own helmet, he wins ten thousand gold crowns!"
They open their eyes and, after a few moments of thought, one of the four knights gives the correct answer.
Questions: Which knight is it, and how can he be certain of the color of the feather on his helmet? And, of course, what color is his feather, given that Galahad's is white?

Answer: Percival is the winner, declaring that he is wearing a black feather on his helmet. His reasoning is as follows:
"I know there are two black feathers and two white feathers. Gawain can see me, so if my feather had been the same color as Galahad's—whom he can also see—he would have immediately deduced the color of his own feather, since it would have to be the opposite color. Because Gawain stays silent, my feather must be a different color from Galahad's. I can see that Galahad is wearing a white feather, which means mine must be black."
Well done if you solved it!