Input (grade 12): After gaining his degree Mallory stayed in Cambridge for a year writing an essay he later published as Boswell the Biographer (1912).
Output (grade 12): After getting his degree Mallory stayed in Cambridge for a year writing an essay he later published as Boswell the Biographer (1912).