High School is selling tickets to its Spring Concert. Adult tickets cost $4 and student tickets cost $2.50. The school sold 800 tickets for a total of $2585. How many of each type of ticket were sold?