Adult tickets to a basketball game cost $5. Student tickets cost $1. A total of $2,546 was collected on the sale of 1,082 tickets. How many of each type of ticket were sold? The basketball game sold adult tickets and student tickets.​