As the number of rows is equal to the number of columns,
we can take a square root of the total number of children.
If we take the square root of `500`, we have a remainder `16`.
It means `484` children can be arranged in `22` rows and `22` columns and rest `16` will be left out.