In the green-eyed logic puzzle, there is an island of 100 perfectly logical prisoners who have green eyes—but they don't know that. They have been trapped on the island since birth, have never seen a mirror, and have never discussed their eye color.
On the island, green-eyed people are allowed to leave, but only if they go alone, at night, to a guard booth, where the guard will examine eye color and either let the person go (green eyes) or throw them in the volcano (non-green eyes). The people don't know their own eye color; they can never discuss or learn their own eye color; they can only leave at night; and they are given only a single hint when someone from the outside visits the island. That's a tough life!
One day, a visitor comes to the island. The visitor tells the prisoners: "At least one of you has green eyes." On the 100th morning after, all the prisoners are gone, all having asked to leave on the night before. How did they figure it out?