The attendance at a baseball game was 400 people.student tickets cost $2 and adult tickets cost $3.Total tickets sales were $1050.how many tickets of each type were sold