Students sold 390 tickets for a fundraiser at school.
Some tickets are for children and cost $2, while the
rest are adult tickets that cost $5. If the total value of
all tickets sold was $1,470, how many of each type of
ticket was sold?