Microsoft interview question

implement FIFO using LIFO