Table salt, NaCl(s), and sugar, C12H22O11(s), are accidentally mixed

Table salt, NaCl(s), and sugar, C12H22O11(s), are accidentally mixed. A 4.00-g sample is burned, and 3.00 g of CO2(g) is produced. What was the mass percentage of the table salt in the mixture?