Input (grade 10): Pelosi served as the 60th Speaker of the United States House of Representatives from January 4, 2007 to January 3, 2011.
Output (grade 8): She is a member of the United States House of Representatives and was Speaker of the House from 2007 to 2011.