I am trying to get a better understanding of short exact sequences of abelian groups. I know that if
$0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0$
and
$0 \rightarrow A' \rightarrow B' \rightarrow C' \rightarrow 0$
are short exact sequences, having two 'column isomorphisms' (i.e. $A$ isomorphic to $A'$, $B$ isomorphic to $B'$, or $C$ isomorphic to $C'$) does not imply that we also have the isomorphism that is missing. However, I am struggling to find a counterexample for the case where $B$ is isomorphic to $B'$ and $C$ is isomorphic to $C'$. What are two groups $A$ and $A'$ such that they complete the short exact sequences while not being isomorphic?