Input (grade 10): He then journeyed to Rome, where in 1771 he won second prize in a painting competition organized by the City of Parma.
Output (grade 7): In 1771 he won second prize in a painting competition in the city of Parma.