Suppose that there are two types of tickets to a show: advance and same day. Advance cost $15 dollars and same day cost $20. For one performance, there were 60 tickets sold in all, and the total amount paid for them was $1025. How many tickets of each type were sold?