The lengths of the three sides of a triangle (in centimeters) are consecutive integers.
If the perimeter is 24 centimeters, find the value of the middle of the three side
lengths.