Prisoner D sees 2 different colours so he won’t speak up. Prisoner C sees prisoner B wears white and that notices that prisoner D doesn’t speak up, prisoner B wears white meaning that he himself has to have a black hat on his head