A population has the following genotype frequencies: AA = 15%, Aa = 35%, aa = 50%.

What is the frequency of the A allele?
What is the frequency of the a allele?