There were 287 tickets purchased for a major baseball game. The general admission tickets cost $6.50 and the upper reserved tickets cost $10.00. The total amount of money spent was $2429.00.how many of each kind of ticket were purchased?