Consider the following operations done on Stack:
push(5)push(8)pop()push(2)push(5)pop()pop()pop()push(1)pop()
The output of the above snippet is [], empty list.