Given:
Let x be the number of children.
Let y be the number of adults.
In total, there were 277 people.
So,

According to the question, the fee of $1.50 for children and $4 for adults and the total fees collected is $828.
So,

Multiply by 4 in equation (1),

Subtracting the equation (2) from (3), we get

Substitute x=112 in equation (1), we get

Thus,
• The number of children is x = 112.
,
• The number of adults is y = 165.