A gold ore produces about 5 g of gold for every 1,000 kg of ore that is mined. If one ounce = 28.3 g, how many kg of ore must be mined to produce an ounce of gold?