Let $H$ be a subgroup of $S_n$
If every member of $H$ is even permutation, then $H\subseteq A_n$, the subgroup of $S_n$ consisting of all even permutations.
Suppose not, i.e. there is at least one element namely $\sigma_1$ which is an odd permutation. Let $m_e,m_o$ denote number of even, odd permutations in $H$. If $\sigma_1,\sigma_2,\ldots,\sigma_{m_o\ }$ are odd cycles, then $\sigma_1^2,\sigma_1\sigma_2,\ldots,\sigma_1\ \sigma_{m_o}$ are all distinct even permutations, so there are at least that many even permutations as many there are odd ones, which implies $m_e\geq m_o$.
On the other hand, if $\alpha_1,\ldots,\alpha_{m_e\ }$ are even permutations, then $\sigma_1\ \alpha_1,\ldots,\sigma_1\ \alpha_{m_e\ }$ are all odd permutations, so there are at least that many odd permutations as many there are even ones, which gives $m_o\geq m_e$.
Thus, $m_e=m_o=|H|/2$
The result we have proved is: If $H$ is a subgroup of $S_n$, then either $H\subseteq A_n$ or $|H\cap A_n|=|H|/2$