Cisco interview question

implement stack using two queues