In its first month of operations, Blue Spruce Corp. made three purchases of merchandise in the following sequence: (1) 350 units at $7, (2) 450 units at $9, and (3) 550 units at $10. Assuming there are 250 units on hand at the end of the period, compute the cost of the ending inventory under (a) the FIFO method and (b) the LIFO method. Blue Spruce Corp. uses a periodic inventory system.