I am looking for the unique values of $x_n$ and $y_n$ ($n=1,\dots,N$) where $1\geq x_n>y_n\geq0$ such that the folloiwng holds $$ \sum_{n=1}^Ne^{-i2m\pi x_n}=\sum_{n=1}^Ne^{-i2m\pi y_n} $$ for all non-zero integers $0<m\leq N-1$. I think there is a connection to the property of the roots of unity (their sum equals $0$) but I am not sure how to utilize it.
Edit:
Another requirement is that the values of $x_n-y_n$ should be unique for all $n$.