For functions $f,g: I \to \mathbb{R}$ increasing on interval $I$, prove that for the solution of the system of equations $$ \begin{cases} \begin{align} f(x_{1}) &= g(x_{2}) \\ f(x_{2}) &= g(x_{3}) \\ &\;\;\vdots \notag \\ f(x_{n}) &= g(x_{1}) \end{align} \end{cases} $$ $x_1 = x_2 = · · · = x_n$ is true.
I believe there might be a lemma for this, unfortunately, I can't find anything. Is there an elementary way to prove this?