Dynamics of a two sex population with gestation period