The following units of a particular item were available for sale during the year:
- Beginning Inventory - 100 units at $60
- Sale - 75 units at $112
- First purchase - 155 units at $65
- Sale - 135 units at $112
- Second purchase - 200 units at $72
- Sale - 175 units at $112
The firm uses the perpetual inventory system, and there are 70 units of the item on hand at the end of the year. What is the total cost of the ending inventory according to (a) FIFO, (b) LIFO?