Input (grade 3): She was a Senator from the state of New York from 2001 to 2009.
Output (grade 6): Before that, she was the junior United States Senator from New York from 2001 to 2009.