A company using the periodic inventory system has merchandise inventory costing $259 on hand at the beginning of a period. During the period, merchandise costing $695 is purchased. At year-end, merchandise inventory costing $109 is on hand. The cost of merchandise sold for the year is