Stacks and Randomized Queues