Suppose that there are two types of tickets to a show: advanced and same day. The combined cost of one advance ticket and one same day ticket is $45. For one performance, 30 advance tickets and 40 same day tickets were sold. The total amount paid for the tickets was $1500. What was the price of each kind of ticket?