If you’re always on the hunt for a good riddle, here are 14 you might not have heard before now. The puzzle is to find how the prisoners can escape, regardless of how the jailer distributes the hats. The 2nd prisoner will notice that and realise that he and the 1st prisoner has a black and white each. The 2nd prisoner who can see white/black on the 1st prisoner will deduce that his own hat is black/white respectively. Answer: One person is designated as the leader, only they may flip the first switch down.