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