In a series of 2n observations, half of them equal a and remaining half equal −a. If the standard deviation of the observations is 2, then |a| equals.