How does the sentence end?

I took the cookies out of their box and put them into the cookie jar until the 
pick from the following.
 A). jar was full.;
 B). box was full.;
A).