In an nn-gon all of whose interior angles are equal, the lengths of consecutive sides satisfy the relation a1a2an.a_1 \geq a_2 \geq \cdots \geq a_n. Prove that a1=a2==ana_1 = a_2 = \cdots = a_n.