FIFO and LIFO Costs Under Perpetual Inventory System The following units of an item were available for sale during the year: Beginning inventory 41 units at $42 Sale 31 units at $63 First purchase 17 units at $45 Sale 13 units at $63 Second purchase 25 units at $47 Sale 13 units at $63 The firm uses the perpetual inventory system, and there are 26 units of the item on hand at the end of the 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? $