If a population of 1,000 individuals has 160 rr genotypes, what is the frequency of the rr genotype?

Please explain how you got the answer.