In a population of 2,000 individuals, 756 have blood group A, 280 have blood group B, 90 have blood group AB, and 874 have blood group O. What is the frequency of the three alleles if we consider that the population is in Hardy-Weinberg equilibrium for this locus?