Tickets for the community fair cost $12 for adults and $5 dollars for children. On the first day of the fair, 312 tickets were sold for a total of $2,204 . How many adult tickets and how many child tickets were sold?