The total number of passengers riding a certain city bus during the morning shift is 1,000. If the child's fare is $0.50, the adult fare is $1.75, and the total revenue from the fares in the morning shift is $1,500, how many children and how many adults rode the bus during the morning shift?