At the beginning of the year, Bryers Incorporated reports inventory of $6,000. During the year, the company purchases additional inventory for $21,000. At the end of the year, the cost of inventory remaining is $8,000. Calculate cost of goods sold for the year.