tickets for a high school play cost 3 dollars for children and 5 dollars for adults. The revenue for one performance was 663 dollars and 145 tickets were sold.  how many adult tickets and how many children tickets were sold