Four perfectly rational human prisoners are being examined by malevolently curious aliens. The aliens place a colored hat on each prisoner's head, using exactly two red hats and two green hats (and everyone knows this). The prisoners are arranged on a vertical observation rig so that they can only see the hats of people below them, and nobody can see behind their own head. Call the prisoners A, B, C, and D from top to bottom. A stands at the highest platform and can see the hats on B and C. B stands below A and can see only C's hat. C stands below B and cannot see anyone's hat D is tucked into a blind recess). D is hidden in that blind recess: nobody A, B, or C can see D, and D cannot see anyone. The four are fully conscious, perfectly logical, and hear every public statement. The aliens will let them go back to earth if at least one of them correctly pronounces the color of their hand; otherwise, they will all be disintegrated by a powerful laser. Humans are not allowed to say or do anything except state the color of their hats; otherwise, they will all be disintegrated as well. Is it possible for all of them to be liberated?