Microsoft Interview Question

How to implement a queue using only stacks as the datastructure Given a stream of strings, give the most commonly occuring word