A jazz concert brought in ​$167,000 on the sale of 8,200 tickets. If the tickets sold for $15 and $25 ​each, how many of each type of ticket were​ sold?