Mean median

Can you work out the median weight of these children from the given means?

Problem



The mean weight of five children is 45 kg.

The mean weight of the lightest three children is 42 kg.

The mean weight of the heaviest three children is 49 kg.

What is the median weight of the children?

This problem is taken from the UKMT Mathematical Challenges.