X by 2 interview question

Implement a queue using two stacks.