X Company, a manufacturer, reported the following inventory balance for 2012:
Direct Materials work in process Finished Goods
January1 $15,666 $13,780 $17,432
December 31 $13,870 $13,780 $16,392
The following additional information was available:
Direct materials costing $65,498 were purchased.
Direct labor cost was $30,300.
Overhead applied was $40,609.
Selling and administrative costs were $34,684.
Sales were $417,729
What was Cost of goods sold for the year?