Tickets for the school play are $5 for students and $10 for non-students. On opening night 850 tickets were sold and $6,750 was collected. How many of each tickets were sold to students? To non-students?