已知x1=2,xn+1=1−1xn(n=1,2,3,…),则x2004=______.