The admission fee at an amusement park is $1.50 for children and $6.40 for adults. On a certain day, 286 people entered the park, and the admission fees collected totaled $1164. How many children and how many adults were admitted?