Queue with two Stacks and Stack with two Queues