You are selling tickets to a concert. Student tickets cost $5 and adult cost $7. You sell 45 tickets and collect $265. How many of each type did you sell?