In a seven-sided polygon (heptagon), the vertices are labeled and . The numbers and are assigned to these vertices, although not necessarily in this order. The sums of the numbers at the ends of the seven line segments forming the sides of the heptagon () form an arithmetic sequence, although not necessarily in this order. What is the middle term of the sequence?
6
7
8
9
10