Bloomberg interview question

How to implement a priority stack with two stacks