Let $G$ be a group having finite normal subgroups $N_1,... , N_k$ , such that the gcd of $|N_i |$ and $|N_j |$ is $1$ whenever $i\neq j$. Show that $N_1N_2 \cdots N_k \cong N_1\times N_2\times\cdots\times N_k$.
I think one way to solve this exercise is by proving two things: (1) $N_1N_2 \cdots N_k=G$ and (2) $(N_1\cdots N_s)\cap N_{s+1}=\{e\}$. Since in this way we can conclude that $G$ is the internal direct product of $N_1,... , N_k$ and therefore isomorphic to $N_1\times\cdots\times N_k$. The problem is, I don't know exactly how to start. Any hint?
Edition
For $(2)$, let $N=N_1N_2\cdots N_{k-1}$. We claim that $N\cap N_{k}=\{e\}$. Suppose otherwise, that $e\neq a\in N\cap N_{k} $, then $|a|$ must divide the order of both subgroups $N$ and $N_k$, but $(|N|,|N_k|)=1$; thus, $|a|=1$ and so $a=e$. For $(1)$, since $N\cap N_{k}=\{e\}$, we know that $|NN_k|=|N||N_k|\leq |G|$. Here is my problem, how can I prove that Indeed $|N||N_k|= |G|$?
I have not been able to advance much with the Grossmann's hint
By induction, it is enough to show this when $k=2$. First of all, for $n_1\in N_1$ and $n_2\in N_2$, we have $n_1n_2=n_2n_1$, since you can show that $n_1n_2n_1^{-1}n_2^{-1}\in N_1\cap N_2=1$.
Thus, the map $N_1\times N_2\to N_1N_2\subseteq G:(n_1,n_2)\mapsto n_1n_2$ is a group homomorphism. Now, all that is left is to show injectivity and surjectivity.