There were 254 tickets purchased for a major league baseball game. The lower box tickets cost ​$12.50 and the upper box tickets cost ​$10.00. The total amount of money spent was ​$2745.00. How many of each kind of ticket were​ purchase