Input (grade 6): She married her cousin Grand Duke Alexander Mikailovich of Russia, with whom she had seven children.
Output (grade 6): She married her cousin Grand Duke Alexander Mikailovich of Russia and had seven children.