Input (grade 10): He adopted his second surname upon the death of an aunt named Savarin who left him her entire fortune on the condition that he adopt her name.
Output (grade 11): He was born Jean Anthelme Brillat, but adopted his second surname because an aunt named Savarin left him her entire fortune on the condition that he adopt her name.