legislators = [['Bassett', 'Richard', '1745-04-02', 'M', 'sen', 'DE', 'Anti-Administration'],
 ['Bland', 'Theodorick', '1742-03-21', '', 'rep', 'VA', ''],
 ['Burke', 'Aedanus', '1743-06-16', '', 'rep', 'SC', ''],
 ['Carroll', 'Daniel', '1730-07-22', 'M', 'rep', 'MD', ''],
 ['Clymer', 'George', '1739-03-16', 'M', 'rep', 'PA', ''],
 ['Contee', 'Benjamin', '', 'M', 'rep', 'MD', ''],
 ['Dalton', 'Tristram', '1738-05-28', '', 'sen', 'MA', 'Pro-Administration'],
 ['Elmer', 'Jonathan', '1745-11-29', 'M', 'sen', 'NJ', 'Pro-Administration'],
 ['Few', 'William', '1748-06-08', 'M', 'sen', 'GA', 'Anti-Administration'],
 ['Floyd', 'William', '1734-12-17', 'M', 'rep', 'NY', ''],
 ['Gale', 'George', '1756-06-03', 'M', 'rep', 'MD', ''],
 ['Grayson', 'William', '', 'M', 'sen', 'VA', 'Anti-Administration'],
 ['Grout', 'Jonathan', '1737-07-23', 'M', 'rep', 'MA', ''],
 ['Hawkins', 'Benjamin', '1754-08-15', 'M', 'sen', 'NC', 'Pro-Administration'],
 ['Huntington', 'Benjamin', '1736-04-19', 'M', 'rep', 'CT', ''],
 ['Izard', 'Ralph', '', 'M', 'sen', 'SC', 'Pro-Administration'],
 ['Johnson', 'William', '1727-10-07', 'M', 'sen', 'CT', 'Pro-Administration'],
 ['Johnston', 'Samuel', '1733-12-15', 'M', 'sen', 'NC', 'Pro-Administration'],
 ['Lee', 'Richard', '1732-01-20', 'M', 'sen', 'VA', 'Anti-Administration'],
 ['Maclay', 'William', '1737-07-20', 'M', 'sen', 'PA', 'Anti-Administration'],
 ['Mathews', 'George', '1739-08-30', 'M', 'rep', 'GA', ''],
 ['Morris', 'Robert', '1734-01-20', 'M', 'sen', 'PA', 'Pro-Administration'],
 ['Partridge', 'George', '1740-02-08', 'M', 'rep', 'MA', ''],
 ['Paterson', 'William', '1745-12-24', 'M', 'sen', 'NJ', 'Pro-Administration'],
 ['Smith', 'William', '1728-04-12', 'M', 'rep', 'MD', ''],
 ['Stone', 'Michael', '', 'M', 'rep', 'MD', ''],
 ['Van Rensselaer', 'Jeremiah', '1738-08-27', 'M', 'rep', 'NY', ''],
 ['Wynkoop', 'Henry', '1737-03-02', 'M', 'rep', 'PA', ''],
 ['Dickinson',
  'Philemon',
  '1739-04-05',
  '',
  'sen',
  'NJ',
  'Pro-Administration'],
 ['Walker', 'John', '1744-02-13', 'M', 'sen', 'VA', 'Pro-Administration'],
 ['Ashe', 'John', '', 'M', 'rep', 'NC', ''],
 ['Barnwell', 'Robert', '1761-12-21', 'M', 'rep', 'SC', ''],
 ['Burr', 'Aaron', '1756-02-06', 'M', 'sen', 'NY', 'Republican'],
 ['Cabot', 'George', '1752-12-03', 'M', 'sen', 'MA', 'Federalist'],
 ['Carroll', 'Charles', '1737-09-19', 'M', 'sen', 'MD', ''],
 ['Ellsworth', 'Oliver', '1745-04-29', 'M', 'sen', 'CT', 'Federalist'],
 ['Gerry', 'Elbridge', '1744-07-17', '', 'rep', 'MA', ''],
 ['Huger', 'Daniel', '1742-02-20', 'M', 'rep', 'SC', ''],
 ['Jacobs', 'Israel', '1726-06-09', '', 'rep', 'PA', ''],
 ['Key', 'Philip', '', 'M', 'rep', 'MD', ''],
 ['Read', 'George', '1733-09-18', 'M', 'sen', 'DE', ''],
 ['Robinson', 'Moses', '1741-03-22', 'M', 'sen', 'VT', 'Anti-Administration'],
 ['Schoonmaker', 'Cornelius', '', 'M', 'rep', 'NY', ''],
 ['Seney', 'Joshua', '1756-03-04', 'M', 'rep', 'MD', ''],
 ['Sheredine', 'Upton', '', '', 'rep', 'MD', ''],
 ['Sherman', 'Roger', '1721-04-19', 'M', 'sen', 'CT', 'Pro-Administration'],
 ['Silvester', 'Peter', '', 'M', 'rep', 'NY', ''],
 ['Steele', 'John', '1764-11-16', 'M', 'rep', 'NC', ''],
 ['Sterett', 'Samuel', '', 'M', 'rep', 'MD', ''],
 ['Sturges', 'Jonathan', '1740-08-23', 'M', 'rep', 'CT', ''],
 ['Tucker', 'Thomas', '1745-06-25', 'M', 'rep', 'SC', ''],
 ['Wayne', 'Anthony', '1745-01-01', 'M', 'rep', 'GA', ''],
 ['White', 'Alexander', '', 'M', 'rep', 'VA', ''],
 ['Williamson', 'Hugh', '1735-12-05', 'M', 'rep', 'NC', 'Federalist'],
 ['Willis', 'Francis', '1745-01-05', '', 'rep', 'GA', ''],
 ['Edwards', 'John', '', 'M', 'sen', 'KY', 'Anti-Administration'],
 ['Potts', 'Richard', '1753-07-19', 'M', 'sen', 'MD', 'Federalist'],
 ['Armstrong', 'James', '1748-08-29', 'M', 'rep', 'PA', ''],
 ['Beatty', 'John', '1749-12-10', 'M', 'rep', 'NJ', ''],
 ['Boudinot', 'Elias', '1740-05-02', '', 'rep', 'NJ', ''],
 ['Bourne', 'Shearjashub', '1746-06-14', '', 'rep', 'MA', ''],
 ['Bradford', 'William', '1729-11-04', 'M', 'sen', 'RI', 'Federalist'],
 ['Cadwalader', 'Lambert', '', '', 'rep', 'NJ', ''],
 ['Carnes', 'Thomas', '', 'M', 'rep', 'GA', ''],
 ['Clark', 'Abraham', '1726-02-15', 'M', 'rep', 'NJ', ''],
 ['Cobb', 'David', '1748-09-14', 'M', 'rep', 'MA', ''],
 ['Coffin', 'Peleg', '1756-11-03', '', 'rep', 'MA', ''],
 ['Dawson', 'William', '', 'M', 'rep', 'NC', 'Anti-Administration'],
 ['Edwards', 'Benjamin', '1753-08-12', 'M', 'rep', 'MD', ''],
 ['Fitzsimons', 'Thomas', '', 'M', 'rep', 'PA', ''],
 ['Forrest', 'Uriah', '', '', 'rep', 'MD', ''],
 ['Frelinghuysen', 'Frederick', '1753-04-13', 'M', 'sen', 'NJ', 'Federalist'],
 ['Gillon', 'Alexander', '', 'M', 'rep', 'SC', ''],
 ['Gordon', 'James', '1739-10-31', 'M', 'rep', 'NY', ''],
 ['Griffin', 'Samuel', '', 'M', 'rep', 'VA', ''],
 ['Holten', 'Samuel', '1738-06-09', 'M', 'rep', 'MA', ''],
 ['Irvine', 'William', '1741-11-03', 'M', 'rep', 'PA', ''],
 ['Learned', 'Amasa', '1750-11-15', '', 'rep', 'CT', ''],
 ['Lee', 'Richard', '1761-01-20', 'M', 'rep', 'VA', ''],
 ['Martin', 'Alexander', '', 'M', 'sen', 'NC', 'Republican'],
 ['McDowell', 'Joseph', '1758-02-25', 'M', 'rep', 'NC', ''],
 ['Mebane', 'Alexander', '1744-11-26', 'M', 'rep', 'NC', ''],
 ['Mercer', 'John', '1759-05-17', 'M', 'rep', 'MD', ''],
 ['Mitchell', 'Stephen', '1743-12-09', 'M', 'sen', 'CT', 'Pro-Administration'],
 ['Montgomery', 'William', '1736-08-03', 'M', 'rep', 'PA', ''],
 ['Neville', 'Joseph', '', 'M', 'rep', 'VA', ''],
 ['Niles', 'Nathaniel', '1741-04-03', 'M', 'rep', 'VT', ''],
 ['Pickens', 'Andrew', '1739-09-13', 'M', 'rep', 'SC', ''],
 ['Scott', 'Thomas', '', 'M', 'rep', 'PA', ''],
 ['Strong', 'Caleb', '1745-01-09', '', 'sen', 'MA', 'Federalist'],
 ['Talbot', 'Silas', '1751-01-11', '', 'rep', 'NY', ''],
 ['Tredwell', 'Thomas', '1743-02-06', 'M', 'rep', 'NY', ''],
 ['Van Gaasbeck', 'Peter', '1754-09-27', 'M', 'rep', 'NY', ''],
 ['Vining', 'John', '1758-12-23', 'M', 'sen', 'DE', 'Federalist'],
 ['Wadsworth', 'Jeremiah', '1743-07-12', 'M', 'rep', 'CT', ''],
 ['Walker', 'Francis', '1764-06-22', '', 'rep', 'VA', ''],
 ['Ward', 'Artemas', '1727-11-26', '', 'rep', 'MA', ''],
 ['Watts', 'John', '1749-08-27', 'M', 'rep', 'NY', ''],
 ['Williams', 'Benjamin', '1751-01-01', 'M', 'rep', 'NC', ''],
 ['Wingate', 'Paine', '1739-05-14', '', 'rep', 'NH', ''],
 ['Tazewell', 'Henry', '1753-11-27', 'M', 'sen', 'VA', 'Republican'],
 ['Walton', 'George', '', 'M', 'sen', 'GA', 'Federalist'],
 ['Ames', 'Fisher', '1758-04-09', '', 'rep', 'MA', 'Federalist'],
 ['Bingham', 'William', '1752-03-08', 'M', 'sen', 'PA', 'Federalist'],
 ['Bloodworth', 'Timothy', '', 'M', 'sen', 'NC', 'Republican'],
 ['Bourne', 'Benjamin', '1755-09-09', 'M', 'rep', 'RI', 'Federalist'],
 ['Buck', 'Daniel', '1753-11-09', 'M', 'rep', 'VT', 'Federalist'],
 ['Coles', 'Isaac', '1747-03-02', 'M', 'rep', 'VA', 'Republican'],
 ['Crabb', 'Jeremiah', '', 'M', 'rep', 'MD', 'Federalist'],
 ['Dearborn', 'Henry', '1751-02-23', 'M', 'rep', 'MA', 'Republican'],
 ['Duvall', 'Gabriel', '1752-12-06', '', 'rep', 'MD', 'Republican'],
 ['Earle', 'Samuel', '1760-11-28', 'M', 'rep', 'SC', 'Republican'],
 ['Gilbert', 'Ezekiel', '1756-03-25', '', 'rep', 'NY', 'Federalist'],
 ['Greenup', 'Christopher', '', 'M', 'rep', 'KY', 'Republican'],
 ['Gunn', 'James', '1753-03-13', 'M', 'sen', 'GA', 'Federalist'],
 ['Hancock', 'George', '1754-06-13', 'M', 'rep', 'VA', 'Federalist'],
 ['Hathorn', 'John', '1749-01-09', 'M', 'rep', 'NY', 'Republican'],
 ['Heath', 'John', '1758-05-08', 'M', 'rep', 'VA', 'Republican'],
 ['Henderson', 'Thomas', '1743-08-15', 'M', 'rep', 'NJ', 'Federalist'],
 ['Henry', 'John', '', 'M', 'sen', 'MD', 'Federalist'],
 ['Langdon', 'John', '1741-06-26', 'M', 'sen', 'NH', 'Republican'],
 ['Leonard', 'George', '1729-07-04', 'M', 'rep', 'MA', 'Federalist'],
 ['Lyman', 'William', '1755-12-07', 'M', 'rep', 'MA', 'Republican'],
 ['Marshall', 'Humphrey', '', '', 'sen', 'KY', 'Federalist'],
 ['Muhlenberg', 'Frederick', '1750-01-01', 'M', 'rep', 'PA', 'Republican'],
 ['Murray', 'William', '1760-02-09', 'M', 'rep', 'MD', 'Federalist'],
 ['Orr', 'Alexander', '1761-11-06', 'M', 'rep', 'KY', 'Republican'],
 ['Page', 'John', '1743-04-17', 'M', 'rep', 'VA', 'Republican'],
 ['Paine', 'Elijah', '1757-01-21', 'M', 'sen', 'VT', 'Federalist'],
 ['Patten', 'John', '1746-04-26', 'M', 'rep', 'DE', 'Republican'],
 ['Preston', 'Francis', '1765-08-02', '', 'rep', 'VA', 'Republican'],
 ['Read', 'Jacob', '', 'M', 'sen', 'SC', 'Federalist'],
 ['Richards', 'John', '1753-04-18', 'M', 'rep', 'PA', 'Republican'],
 ['Rutherford', 'Robert', '1728-10-20', 'M', 'rep', 'VA', 'Republican'],
 ['Sherburne', 'John', '', 'M', 'rep', 'NH', 'Republican'],
 ['Smith', 'Isaac', '', 'M', 'rep', 'NJ', 'Federalist'],
 ['Sprigg', 'Thomas', '', 'M', 'rep', 'MD', 'Republican'],
 ['Strudwick', 'William', '', 'M', 'rep', 'NC', 'Federalist'],
 ['Swift', 'Zephaniah', '1759-02-27', '', 'rep', 'CT', 'Federalist'],
 ['Tatom', 'Absalom', '', '', 'rep', 'NC', 'Republican'],
 ['Trumbull', 'Jonathan', '1740-03-26', 'M', 'sen', 'CT', 'Federalist'],
 ['White', 'James', '1749-06-16', 'M', 'rep', 'TN', ''],
 ['Blount', 'William', '1749-03-26', 'M', 'sen', 'TN', 'Republican'],
 ['Goodhue', 'Benjamin', '1748-09-20', 'M', 'sen', 'MA', 'Federalist'],
 ['Howard', 'John', '1752-06-04', 'M', 'sen', 'MD', 'Federalist'],
 ['Hunter', 'John', '', 'M', 'sen', 'SC', 'Republican'],
 ['Laurance', 'John', '', 'M', 'sen', 'NY', 'Federalist'],
 ['Tattnall', 'Josiah', '', 'M', 'sen', 'GA', 'Republican'],
 ['Allen', 'John', '1763-06-12', 'M', 'rep', 'CT', 'Federalist'],
 ['Benton', 'Lemuel', '', '', 'rep', 'SC', 'Republican'],
 ['Bradbury', 'Theophilus', '1739-11-13', '', 'rep', 'MA', 'Federalist'],
 ['Brooks', 'David', '', 'M', 'rep', 'NY', 'Federalist'],
 ['Bryan', 'Nathan', '', 'M', 'rep', 'NC', 'Republican'],
 ['Bullock', 'Stephen', '1735-10-10', 'M', 'rep', 'MA', 'Federalist'],
 ['Burges', 'Dempsey', '', '', 'rep', 'NC', 'Republican'],
 ['Chapman', 'John', '1740-10-18', 'M', 'rep', 'PA', 'Federalist']]