输入 push/pop 操作序列,观察队列队首出、队尾入的过程。
队列:先进先出(FIFO)。push(x) 从队尾入队,pop() 从队首出队。
每行一条操作:push x 或 pop。
push x
pop