A company started the year with $10,000 of inventory. Purchases for resale during the year were $20,000. Inventory on December 31 is $5,000. What's the cost of goods sold