Amazon interview question

How can you implement a stack using only queues?