molar fractions

A flue gas consists of carbon dioxide, oxygen, water vapor, and nitrogen. The molar fractions of CO2, and 0, in a sample of the gas are 12% and 6%, respectively. The weight fraction of H2O in the gas is 6.17%. Estimate the density of this gas at 500 K and 110 kPa.