At the local carnival, a ride charges $3 for a child ticket and $6 for an adult ticket. If the ride collected a total of $144 and 36 tickets were sold, how many of each type of ticket was sold?

________ child tickets and _______ adult tickets.