a queue is a stack but fifo