Prepod talks about the theory of the counts:
Here in all kinds of books for young children, so that they can develop, they often write the task of 3 houses and 3 wells, and they can not solve it. You probably couldn’t either. And all because you did not know the theorem of Pontryagin-Kuratovsky!