FIFO and LIFO accounting