A middle school is selling tickets to a play. The number of child tickets sold is half the number of adult tickets sold. They sold 141 tickets total. How many tickets of each type were sold?