Pharoah Company made three purchases in its first month of operations: 380 units at $6, 480 units at $8, and 580 units at $9. With 280 units remaining at the end of the period, and using a periodic inventory system, the cost of Pharoah's ending inventory under the LIFO method must be calculated.