Input (grade 10): Pelosi is the first woman to be elected Speaker of the House and to be second in the line of succession to the presidency.
Output (grade 3): She is the first woman to be Speaker of the House.