Input (grade 10): After their marriage in 1921, Nadezhda and Osip Mandelstam lived in Ukraine, Petrograd, Moscow, and Georgia.
Output (grade 8): She married Osip Mandelstam in 1921, and lived in Ukraine, Saint Petersburg, Moscow, and Georgia.