The fourth man behind the screen can't see or be seen by any other prisoner. No communication between the men is allowed. If any prisoner can figure out and say (out loud) to the jailer what colour hat he has on his head all four prisoners go free. The puzzle is to find how the prisoners can escape.