A company buys inventory at three different times during the year: 10,000 units at $10 each, then 20,000 units at $11 each, and finally 8,000 units at $14 each. A physical inventory is taken at the end of the year and 9,000 units are found. If the company utilizes a periodic LIFO inventory system, what is reported as the cost of the ending inventory?