Calculate the balance of ending inventory and cost of goods sold using FIFO costing method.

Calculate the balance of ending inventory and cost of goods sold using FIFO costing method.