Let $x_1,x_2,..x_{21}$ be a random sample from a distribution having variance 5. Let $$\bar X = \frac1{21}\sum_{i=1}^{21}X_i\quad\text{and}\quad S=\frac1{21}\sum_{i=1}^{21}(X_i-\bar X)^2$$ What is the value of $E(S)$ ?
I am unable to get why $\bar X$ is given and how to take expectation of $S$. After squaring and taking expectation of each term?