When carbon is burned in air, it reacts with oxygen to form carbon dioxide. When 18.0 g of carbon were burned in the presence of 60.4 g of oxygen, 12.4 g of oxygen remained unreacted. What mass of carbon dioxide was produced?