Are there two non-isomorphic groups $G_1$ and $G_2$ so that $G_1$ is an r-image of $G_2$ and $G_2$ is an r-image of $G_1$?
Recall that a group $H$ is called an r-image of a group $G$ if there are homomorphisms $f$ and $g$ from $H$ to $G$ and from $G$ to $H$, respectively, so that $gf=id_H$.
I know that there are two non-isomorphic groups which are isomorphic to a subgroup of each other, like two free groups of rank 2 and 3.
Thanks in advance.