Paytm interview question

implement queue using stack