If the length of the three sides of a triangle are 6 cm, 8 cm, and 10 cm, then the length of the median to its greatest side is