William had $500 in his bank account. He purchased textbooks for $285. He wants to spend the remaining amount of money on meals. He estimates that each meal costs $6. What is the greatest number of meals William will be able to buy?