JPMorganChase interview question

Implement two stacks into a queue