Freehan Company’s accounting records has the following information about its inventory:

Units Unit Cost Inventory
8,000 $8 Jan. 1
17,000 $10 Apr. 2
15,000 $12 Aug. 28

If the company has 9,000 units on hand at December 31, how much is the cost of ending inventory under the average-cost method in a periodic inventory system?