Dorsett Technologies had finished goods inventory on January 1, 20X8 of $31,500 and finished goods inventory on December 31, 20X8 of $26,300. If the cost of goods manufactured for the year was $407,000, what was the cost of goods sold for the year?