The sequence a1,a2,a_1, a_2, \ldots of integers satisfies the following conditions:

(i) 1aj20151 \leqslant a_{j} \leqslant 2015 for all j1j \geqslant 1;

(ii) k+ak+ak + a_{k} \neq \ell + a_{\ell} for all 1k<1 \leqslant k < \ell.

Prove that there exist two positive integers bb and NN such that j=m+1n(ajb)10072\left| \sum_{j = m + 1}^{n} (a_{j} - b) \right| \leqslant 1007^{2} for all integers mm and nn satisfying n>mNn > m \geqslant N.