Total number of passengers riding the certain city bus during morning shift is 1000. If child's fare is $0.50, adult fare is $1.50, and total revenue from fares in morning shift is $1,300, how many children and how many adults rode bus during morning shift?