The lengths of 40 leaves of a plant are measured correct to the nearest millimeter,

The lengths of 40 leaves of a plant are measured correct to the nearest millimeter, and the data obtained is represented in the following table:
image
Find the median length of the leaves.