In fruit flies, a gene on the X chromosome has an allele for red eyes (X^R), which is dominant to an allele for white eyes (X^r). Female fruit flies are usually XX, and males are usually XY. In a cross, a red-eyed female known to be heterozygous, X^R X^r, was crossed with a red-eyed male, X^R Y, and all 404 offspring were counted.