[latex]\begin{cases}

x \equiv 39 \pmod{189}\\

x \equiv 25 \pmod{539}\\

x \equiv 39 \pmod{1089}\end{cases}[/latex]

but two moduli are not pairwise prime [latex](189, 1089)=3[/latex]

What do we do to solve it then? Should we write prime decomposition for these moduli and calculate it separately?

Thanks