A school is selling tickets for the prom. Tickets with a picture package cost $50 and tickets without the package cost $30. If the school sold a total of 175 tickets and took in $8030, how many of each ticket did they sell?