A total of 150 tickets were sold for the annual concert. Student tickets were $4 and non-students $8. If the total revenue was $840, how many tickets of each type were sold ?