Tickets to a movie cost $7.25 for adults and $5.50 for students. A group of friends purchased 8 tickets for $52.75. How many adult tickets and student tickets were purchased?