Sex-determination system