The Mathews Company uses the periodic inventory system. The following information is available for the period ending December 31, 2006: Sales $30,000, beginning inventory $7,500, ending inventory $6,000 and purchases 20,000. The cost of goods sold for the period is ??