Adobe interview question

Implement queue using stack (FIFO)