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