>>765
Introduction to algorithms
Stacks

The order in which plates are popped from the stack is the reverse of the order in which they were pushed onto the stack,
since only the top plate is accessible.