A mixture containing 50g of KClO₃, K₂CO₃, and KCl was heated. 5g of oxygen and 7g of carbon dioxide were produced. What was the percent composition of the original mixture?