A 1400-seat theater sells two types of tickets for a concert. Premium seats sell for $30 each and regular seats sell for $20 each. At one event $33,950 was collected in ticket sales with 10 seats left unsold. How many of each type of ticket was sold?