If sin2θ−2sinθ−1=0is to be satisfied for exactly 4 distinct values of θ∈[0,nπ],n∈N, then the least value of n is: