What is the meaning of "I empty the bag on a table" in the following sentence (Source: https://forum.wordreference.com/threads/which-witch-is-which.3070455/ )
Me: I have three apples in this bag - a Fuji, a Macintosh, and a Red Delicious. (I empty the bag on a table. The apples roll around randomly then stop.)
You: Which apple is which?
Me: The one on the right is the Macintosh, the one in the middle is the Red Delicious, and the one on the left is the Fuji.
Does it mean "I empty the bag which is on a table"? or does it mean "I empty the bag. Then, I put the bag on the table" ?