The total number of passengers riding a certain city busy during the morning shift is 1000. if the child's fare is $0.50, the adult fare is $1.50, and the total revenue from the fares in the morning shift is $1300, how many children and how many adults rode the bus during the morning shift?