# Is semidirect product decomposition unique?

Suppose $$G$$ is a finite group and we know that $$G = M ltimes N$$, and $$G = X ltimes Y$$.

Then can we conclude that $$M = X$$ and $$N = Y$$?