Input (grade 13): Since 1987, she has represented the 8th Congressional District of California, which consists of four-fifths of the City and County of San Francisco.
Output (grade 8): She represents the 8th district of California, which is part of the city of San Francisco.