Tickets to a school basketball game cost $4 for students and $7 for adults. At the end of the night, 168 tickets are sold for a total of $861. How many tickets are sold