15

If $A$ and $B$ are two unital rings such that $A \times A \cong B \times B$, as rings, does it follows that $A$ and $B$ are isomorphic (as rings)?
I believe that the answer is no, but I can't come up with a counterexample. A similar question for groups has already been asked - the answer is ...