You have a basket containing ten apples. You have ten friends, who each desire an apple.
You give each of your friends one apple.
Now all your friends have one apple each, yet there is an apple remaining in the basket.
How is that possible?
You give an apple each to your first nine friends, and the basket together with the last apple to your tenth friend.
Each friend has an apple, and one of them has it in a basket. 🙂