contestada

There are 21 boys and 29 girls in a class.
The boys and the girls have some pens.
The mean number of pens that the boys have is 21.
The mean number of pens that the girls have is 18.

Work out the mean number of pens the 50 children have.