FIFO and LIFO costs under perpetual inventory system The following units of an item were available for sale during the year: The firm uses the perpetual inventory system, and there are 7,700 units of the item on hand at the end of year. a. What is the total cost of the ending inventory according to FIFO? b. What is the total cost of the ending inventory according to LIFO?.