Julia has 25 apples. She decides to give some apples to her friend Sam. After giving away the apples, Julia has 15 apples left. How many apples did she give to Sam?