Sales during the year were 500 units. Beginning inventory was 200 units at a cost of $5 per unit. Purchase 1 was 250 units at $6 per unit. Purchase 2 was 400 units at $7 per unit.
Required:
Calculate cost of goods sold and ending inventory under the following cost flow assumptions (using a periodic inventory system):
a. FIFO
b. LIFO