If beginning inventory is $60,000, cost of goods purchased is $380,000, and ending inventory is $50,000, cost of goods sold is $390,000. $370,000. $330,000. $420,000.