6g of NaCl was dissolved in water and then treated with excess silver nitrate solution. If it gives 14g of AgCl, what is the percentage purity of the NaCl solution?
A) 30%
B) 40%
C) 50%
D) 60%