By a $\mathbb{Z}_2$ extension of $A_n$, I mean the following short exact sequence:
$1 \longrightarrow A_n \longrightarrow G \longrightarrow \mathbb{Z}_2 \longrightarrow 1$.
Question: How many $G$ are there up to isomorphism?
Note: One can check that if the above S.E.S. splits then there are only two choices of $G= S_n$ or $ A_n\times\mathbb{Z}_2$, up to isomorphism, since $\mathrm{Out}(A_n)=\mathbb{Z}_2$. But I'm not able to show that the above S.E.S. always splits i.e. there is no non-split group extension of $A_n$ by $\mathbb{Z}_2$.