last-in, first-out

last-in, first-out (LIFO)
The system of accounting for stocks which assumes that any goods withdrawn from inventories will be those most recently acquired. LIFO is contrasted with first-in, first-out, (FIFO), which assumes that any goods withdrawn from inventories will be those which have been in stock longest.