On a distribution problem in finite sets