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