At a high school basketball game, 200 tickets were sold to spectators. The total amount of money collected was 667 dollars. Student tickets cost 2 dollars each, and non-student tickets cost 5 dollars each. Determine how many of the tickets sold were for students and how many were for non-students.