Lynn is selling tickets. Student tickets cost $4 and adult tickets cost $6. She sells 525 tickets and collects $2876. How many of each ticket did she sell?