On the planet Philogynos, men are so despised that any woman giving birth to a boy is not allowed to have any more children, how ever many girls she has had before. On nearby Misandros, however, they hate men so much that any woman having a girl is considered to have attained perfection, and will consequently have no more children.

Assuming each baby is equally likely to be male or female, what are the ratios of the sexes on both planets?