This is a problem on blood type. each parent has 3 alleles, {a, b, o}. each parent gives one allele to the offspring, and the combination (known as genotype) determines the blood type of the offspring, {a, b, ab, o}.