Six points are put on a segment 23 cm long (including the end points of the segment). This creates 15 different distances between the points, which are, in cm, 2, 3, 5, 6, 7, 8, 9, n, 13, 14, 15, 18, 20, 21 and 23. What is the value of n?