There are 30 female goats and over twenty male goats. The condition is that their offspring must be 7, the rest are barren.