Students sold 275 tickets for a fundraiser at school. Some tickets are for children and cost $3, which the rest are adult tickets that cost $5. If the total value of all tickets sold was 1,025, how many of each type of ticket was sold