Lakia uses a perpetual inventory system. Ending inventory consists of 500 units, 400 from the July 28 purchase and 100 from the December 19 purchase. Determine the cost assigned to ending inventory and to cost of goods sold using (a) specific identification, (b) weighted average, (c) FIFO, and (d) LIFO.