I need help with this problem
Let $X$ be a reflexive Banach space and $T: X \to X$ a linear operator. Show that $T$ belongs to $\mathcal{L}(X,X)$ if and only if whenever $\{x_n \}$ converges weakly to $x$, $\{T(x_n)\}$ converges weakly to $T(x)$.
any hints or suggestions, thank you!