Calculating Air Density and Effect of Air Composition

I have to calculate density of atmosphere, assuming that it is:
79% : N2
21% : O2 


Does the percentage of gases affect the answer, and how can we find the density with such little information?


