A company using the periodic inventory system has the following account balances: Merchandise Inventory at the beginning of the year, $4,225; Freight In, $467; Purchases, $14,439; Purchases Returns and Allowances, $2,701; Purchases Discounts, $319. The cost of merchandise purchased is equal to