Acertijos de Mileto42 a riddle every day · the solution, the next day Versión en español

2026-11-03 · Wit / Open topic

The Gardener's Hat

Three gardeners, Ana, Beto and Carla, stand in a line in a greenhouse, all facing forward. Carla is at the back and can see the other two; Beto is in the middle and can see only Ana; Ana is at the front and sees no one. A botanist shows them five hats: three green and two blue. He places one on each of them, without anyone seeing their own, and keeps the two leftover hats.

He first asks Carla: "Do you know the color of your hat?" Carla answers: "No." Then he asks Beto: "And you?" Beto, after thinking, also answers: "No." Then Ana, who can see nothing, states the color of her hat with complete confidence.

What color is Ana's hat, and how does she know?

See solution

Ana's hat is green.

If Carla had seen two blue hats on Ana and Beto, she would have known hers was green (there are only two blue ones). Since she said "No," Ana and Beto are not both wearing blue: at least one of them wears green.

Beto reasons the same way and can see Ana's hat. If Ana wore blue, Beto would know he himself wore green (since, from Carla's answer, they could not both be blue). Because Beto said "No," he did not see blue on Ana. Therefore, Ana is wearing green.