Tickets to the school play are $5.00 for adults and $3.50 for students. If the total value of all the tickets sold was $2517.50 and 100 more student bought tickets than adults, how many adults amd students bought tickets