The admission fee at an amusement park is $1.25 for children and $6.00 for adults. On a certain day, 285 people entered the park, and the admission fees collected totaled 1140 dollars. How many children and how many adults were admitted?