Sands Company sold goods with a total selling price of $808,650 during the year. It purchased goods for $389,900 and had beginning inventory of $74,440. A count of its ending inventory determined that goods on hand was $56,990.
What was its cost of goods sold?