Tickets to the movies cost $9.50 for adults and $6.50 for kids. A large group bought 12 tickets and spent a total of $87. How many kid's tickets did the group purchase?

Please include an equation.