Mary is planning to give 6 friends a book and some candy. Each book was $4.50. She wants to spend no more than $39.00. How many pieces of candy can she give to each friend if the candy is $0.25 for each piece?​