Stack&&Queue

And what if second queue is not empty?