Mr. Andrew, his wife and child belong to blood groups A, B and O respectively. The genotypes of both parents are