And now for something considerably easier:
If you were to put a coin into an empty bottle and then insert a cork in the bottle's opening, how could you remove the coin without taking out the cork or breaking the bottle?
How?
Force the cork all the way into the bottle, and dump out the coin. The cork hasn't been "taken out" and in fact is still very much "in the bottle."