Last-in first-out

Last in, first out (LIFO) is a queuing scheme by which the latest goods purchased during a given accounting period are also the first goods used or sold.