At a school concert the total value of tickets sold was $3612. Student tickets sold for $8 and adult tickets sold for $12. The number of adult tickets sold was 7 less than 3 times the number of student tickets. Find the number of student tickets sold.