There were 718 tickets purchased for a major league baseball game. The lower reserved tickets cost ​$9.50 and the upper reserved tickets cost ​$8.00. The total amount of money spent was ​$6249.50 How many of each kind of ticket were​ purchased?