Solving the human resources equation