Let $n\geq 3$ be an integer. Each vertex of a regular $n$-gon is labelled with a real number not exceeding $1$. For real numbers $a,b,c$ on any three consecutive vertices which are arranged clockwise in such an order, we have $c=|a-b|$. Determine the maximum value of the sum of all numbers in terms of $n$.