You make the mistake of solving the stated problem, and not the actual problem. This was never about children, or a solution like what you describe would be trivial.