The number of integers a in the interval [1,2014] for which the system of equations x+y=a;x2x−1+y2y−1=4 has finitely many solutions is