Emma has 24 apples. She gives some apples to her friend, and now she has 15 apples left. How many apples did Emma give to her friend?