Tickets for a train cost $22 for adults and $10 for children. Josie paid $1,200 for a total of 72 tickets. How many adult tickets and how many child tickets did Josie buy?