Tickets to a concert cost $10 in advance and $15 at the door. If 120 tickets were sold for a total of $1390, how many of the tickets were purchased in advance?