How to describe this situation with one sentence:
My friend and I submitted our paper to A and B journals, respectively. But unfortunately, both papers got rejected by the respective journal. Then, my friend and I resubmitted our paper to B and A journals, respectively. This time, both papers got accepted.
One sentence summary: Our papers got accepted by the journal that rejected ...??