You are selling tickets for a high school play. Student tickets cost $5 and general admission tickets cost $7. You sell 103 tickets and make a total of $561. How many of each type of ticket did you buy?​