A total of 202 tickets were sold for a theatre showing. If child tickets cost $6 and adult tickets cost $10, how many tickets of each were sold if the theatre earned a total of $1708.