Fruit flies have eight chromosomes in their body cells. Mice have 40. How many chromosomes are there in each sex cell of these organisms?