The baseball team sold $1,340 in tickets one Saturday. The number of $12 adult tickets was 15 more than twice the number of $5 child tickets. How many of each were sold?