two stacks to implement queue, two queues to implement stack.