DEBUG: getline returns: number,president,party DEBUG: size of getline: 22 DEBUG: column header line was discarded. DEBUG: getline returns: 1,George Washington,Unaffiliated DEBUG: size of getline: 32 DEBUG 0: token value is: 1 DEBUG 1: token value is: George Washington DEBUG 2: token value is: Unaffiliated DEBUG: getline returns: 2,John Adams,Federalist DEBUG: size of getline: 23 DEBUG 0: token value is: 2 DEBUG 1: token value is: John Adams DEBUG 2: token value is: Federalist DEBUG: getline returns: 3,Thomas Jefferson,Democratic-Republican DEBUG: size of getline: 40 DEBUG 0: token value is: 3 DEBUG 1: token value is: Thomas Jefferson DEBUG 2: token value is: Democratic-Republican DEBUG: getline returns: 4,James Madison,Democratic-Republican DEBUG: size of getline: 37 DEBUG 0: token value is: 4 DEBUG 1: token value is: James Madison DEBUG 2: token value is: Democratic-Republican DEBUG: getline returns: 5,James Monroe,Democratic-Republican DEBUG: size of getline: 36 DEBUG 0: token value is: 5 DEBUG 1: token value is: James Monroe DEBUG 2: token value is: Democratic-Republican DEBUG: getline returns: 6,John Quincy Adams,Democratic-Republican DEBUG: size of getline: 41 DEBUG 0: token value is: 6 DEBUG 1: token value is: John Quincy Adams DEBUG 2: token value is: Democratic-Republican DEBUG: getline returns: 7,Andrew Jackson,Democratic DEBUG: size of getline: 27 DEBUG 0: token value is: 7 DEBUG 1: token value is: Andrew Jackson DEBUG 2: token value is: Democratic DEBUG: getline returns: 8,Martin Van Buren,Democratic DEBUG: size of getline: 29 DEBUG 0: token value is: 8 DEBUG 1: token value is: Martin Van Buren DEBUG 2: token value is: Democratic DEBUG: getline returns: 9,William Henry Harrison,Whig DEBUG: size of getline: 29 DEBUG 0: token value is: 9 DEBUG 1: token value is: William Henry Harrison DEBUG 2: token value is: Whig DEBUG: getline returns: 10,John Tyler,Whig DEBUG: size of getline: 18 DEBUG 0: token value is: 10 DEBUG 1: token value is: John Tyler DEBUG 2: token value is: Whig DEBUG: getline returns: 11,James K. Polk,Democratic DEBUG: size of getline: 27 DEBUG 0: token value is: 11 DEBUG 1: token value is: James K. Polk DEBUG 2: token value is: Democratic DEBUG: getline returns: 12,Zachary Taylor,Whig DEBUG: size of getline: 22 DEBUG 0: token value is: 12 DEBUG 1: token value is: Zachary Taylor DEBUG 2: token value is: Whig DEBUG: getline returns: 13,Millard Fillmore,Whig DEBUG: size of getline: 24 DEBUG 0: token value is: 13 DEBUG 1: token value is: Millard Fillmore DEBUG 2: token value is: Whig DEBUG: getline returns: 14,Franklin Pierce,Democratic DEBUG: size of getline: 29 DEBUG 0: token value is: 14 DEBUG 1: token value is: Franklin Pierce DEBUG 2: token value is: Democratic DEBUG: getline returns: 15,James Buchanan,Democratic DEBUG: size of getline: 28 DEBUG 0: token value is: 15 DEBUG 1: token value is: James Buchanan DEBUG 2: token value is: Democratic DEBUG: getline returns: 16,Abraham Lincoln,Republican DEBUG: size of getline: 29 DEBUG 0: token value is: 16 DEBUG 1: token value is: Abraham Lincoln DEBUG 2: token value is: Republican DEBUG: getline returns: 17,Andrew Johnson,National Union DEBUG: size of getline: 32 DEBUG 0: token value is: 17 DEBUG 1: token value is: Andrew Johnson DEBUG 2: token value is: National Union DEBUG: getline returns: 18,Ulysses S. Grant,Republican DEBUG: size of getline: 30 DEBUG 0: token value is: 18 DEBUG 1: token value is: Ulysses S. Grant DEBUG 2: token value is: Republican DEBUG: getline returns: 19,Rutherford B. Hayes,Republican DEBUG: size of getline: 33 DEBUG 0: token value is: 19 DEBUG 1: token value is: Rutherford B. Hayes DEBUG 2: token value is: Republican DEBUG: getline returns: 20,James A. Garfield,Republican DEBUG: size of getline: 31 DEBUG 0: token value is: 20 DEBUG 1: token value is: James A. Garfield DEBUG 2: token value is: Republican DEBUG: getline returns: 21,Chester A. Arthur,Republican DEBUG: size of getline: 31 DEBUG 0: token value is: 21 DEBUG 1: token value is: Chester A. Arthur DEBUG 2: token value is: Republican DEBUG: getline returns: 22,Grover Cleveland,Democratic DEBUG: size of getline: 30 DEBUG 0: token value is: 22 DEBUG 1: token value is: Grover Cleveland DEBUG 2: token value is: Democratic DEBUG: getline returns: 23,Benjamin Harrison,Republican DEBUG: size of getline: 31 DEBUG 0: token value is: 23 DEBUG 1: token value is: Benjamin Harrison DEBUG 2: token value is: Republican DEBUG: getline returns: 24,Grover Cleveland,Democratic DEBUG: size of getline: 30 DEBUG 0: token value is: 24 DEBUG 1: token value is: Grover Cleveland DEBUG 2: token value is: Democratic DEBUG: getline returns: 25,William McKinley,Republican DEBUG: size of getline: 30 DEBUG 0: token value is: 25 DEBUG 1: token value is: William McKinley DEBUG 2: token value is: Republican DEBUG: getline returns: 26,Theodore Roosevelt,Republican DEBUG: size of getline: 32 DEBUG 0: token value is: 26 DEBUG 1: token value is: Theodore Roosevelt DEBUG 2: token value is: Republican DEBUG: getline returns: 27,William Howard Taft,Republican DEBUG: size of getline: 33 DEBUG 0: token value is: 27 DEBUG 1: token value is: William Howard Taft DEBUG 2: token value is: Republican DEBUG: getline returns: 28,Woodrow Wilson,Democratic DEBUG: size of getline: 28 DEBUG 0: token value is: 28 DEBUG 1: token value is: Woodrow Wilson DEBUG 2: token value is: Democratic DEBUG: getline returns: 29,Warren G. Harding,Republican DEBUG: size of getline: 31 DEBUG 0: token value is: 29 DEBUG 1: token value is: Warren G. Harding DEBUG 2: token value is: Republican DEBUG: getline returns: 30,Calvin Coolidge,Republican DEBUG: size of getline: 29 DEBUG 0: token value is: 30 DEBUG 1: token value is: Calvin Coolidge DEBUG 2: token value is: Republican DEBUG: getline returns: 31,Herbert Hoover,Republican DEBUG: size of getline: 28 DEBUG 0: token value is: 31 DEBUG 1: token value is: Herbert Hoover DEBUG 2: token value is: Republican DEBUG: getline returns: 32,Franklin D. Roosevelt,Democratic DEBUG: size of getline: 35 DEBUG 0: token value is: 32 DEBUG 1: token value is: Franklin D. Roosevelt DEBUG 2: token value is: Democratic DEBUG: getline returns: 33,Harry S. Truman,Democratic DEBUG: size of getline: 29 DEBUG 0: token value is: 33 DEBUG 1: token value is: Harry S. Truman DEBUG 2: token value is: Democratic DEBUG: getline returns: 34,Dwight D. Eisenhower,Republican DEBUG: size of getline: 34 DEBUG 0: token value is: 34 DEBUG 1: token value is: Dwight D. Eisenhower DEBUG 2: token value is: Republican DEBUG: getline returns: 35,John F. Kennedy,Democratic DEBUG: size of getline: 29 DEBUG 0: token value is: 35 DEBUG 1: token value is: John F. Kennedy DEBUG 2: token value is: Democratic DEBUG: getline returns: 36,Lyndon B. Johnson,Democratic DEBUG: size of getline: 31 DEBUG 0: token value is: 36 DEBUG 1: token value is: Lyndon B. Johnson DEBUG 2: token value is: Democratic DEBUG: getline returns: 37,Richard Nixon,Republican DEBUG: size of getline: 27 DEBUG 0: token value is: 37 DEBUG 1: token value is: Richard Nixon DEBUG 2: token value is: Republican DEBUG: getline returns: 38,Gerald Ford,Republican DEBUG: size of getline: 25 DEBUG 0: token value is: 38 DEBUG 1: token value is: Gerald Ford DEBUG 2: token value is: Republican DEBUG: getline returns: 39,Jimmy Carter,Democratic DEBUG: size of getline: 26 DEBUG 0: token value is: 39 DEBUG 1: token value is: Jimmy Carter DEBUG 2: token value is: Democratic DEBUG: getline returns: 40,Ronald Reagan,Republican DEBUG: size of getline: 27 DEBUG 0: token value is: 40 DEBUG 1: token value is: Ronald Reagan DEBUG 2: token value is: Republican DEBUG: getline returns: 41,George H. W. Bush,Republican DEBUG: size of getline: 31 DEBUG 0: token value is: 41 DEBUG 1: token value is: George H. W. Bush DEBUG 2: token value is: Republican DEBUG: getline returns: 42,Bill Clinton,Democratic DEBUG: size of getline: 26 DEBUG 0: token value is: 42 DEBUG 1: token value is: Bill Clinton DEBUG 2: token value is: Democratic DEBUG: getline returns: 43,George W. Bush,Republican DEBUG: size of getline: 28 DEBUG 0: token value is: 43 DEBUG 1: token value is: George W. Bush DEBUG 2: token value is: Republican DEBUG: getline returns: 44,Barack Obama,Democratic DEBUG: size of getline: 26 DEBUG 0: token value is: 44 DEBUG 1: token value is: Barack Obama DEBUG 2: token value is: Democratic DEBUG: getline returns: 45,Donald Trump,Republican DEBUG: size of getline: 26 DEBUG 0: token value is: 45 DEBUG 1: token value is: Donald Trump DEBUG 2: token value is: Republican DEBUG: getline returns: 46,Joseph Biden,Democratic DEBUG: size of getline: 26 DEBUG 0: token value is: 46 DEBUG 1: token value is: Joseph Biden DEBUG 2: token value is: Democratic DEBUG: getline returns: 47,Donald Trump,Republican DEBUG: size of getline: 26 DEBUG 0: token value is: 47 DEBUG 1: token value is: Donald Trump DEBUG 2: token value is: Republican *** Checkpoint: Objective 1 complete. *** Number of party names: 7 DEBUG: Adding party: Democratic with 0 members (should be 0). DEBUG: Adding party: Democratic-Republican with 0 members (should be 0). DEBUG: Adding party: Federalist with 0 members (should be 0). DEBUG: Adding party: National Union with 0 members (should be 0). DEBUG: Adding party: Republican with 0 members (should be 0). DEBUG: Adding party: Unaffiliated with 0 members (should be 0). DEBUG: Adding party: Whig with 0 members (should be 0). ***** [0] ***** Number: 1 Full name: George Washington Party: Unaffiliated ***** [1] ***** Number: 2 Full name: John Adams Party: Federalist ***** [2] ***** Number: 3 Full name: Thomas Jefferson Party: Democratic-Republican ***** [3] ***** Number: 4 Full name: James Madison Party: Democratic-Republican ***** [4] ***** Number: 5 Full name: James Monroe Party: Democratic-Republican ***** [5] ***** Number: 6 Full name: John Quincy Adams Party: Democratic-Republican ***** [6] ***** Number: 7 Full name: Andrew Jackson Party: Democratic ***** [7] ***** Number: 8 Full name: Martin Van Buren Party: Democratic ***** [8] ***** Number: 9 Full name: William Henry Harrison Party: Whig ***** [9] ***** Number: 10 Full name: John Tyler Party: Whig ***** [10] ***** Number: 11 Full name: James K. Polk Party: Democratic ***** [11] ***** Number: 12 Full name: Zachary Taylor Party: Whig ***** [12] ***** Number: 13 Full name: Millard Fillmore Party: Whig ***** [13] ***** Number: 14 Full name: Franklin Pierce Party: Democratic ***** [14] ***** Number: 15 Full name: James Buchanan Party: Democratic ***** [15] ***** Number: 16 Full name: Abraham Lincoln Party: Republican ***** [16] ***** Number: 17 Full name: Andrew Johnson Party: National Union ***** [17] ***** Number: 18 Full name: Ulysses S. Grant Party: Republican ***** [18] ***** Number: 19 Full name: Rutherford B. Hayes Party: Republican ***** [19] ***** Number: 20 Full name: James A. Garfield Party: Republican ***** [20] ***** Number: 21 Full name: Chester A. Arthur Party: Republican ***** [21] ***** Number: 22 Full name: Grover Cleveland Party: Democratic ***** [22] ***** Number: 23 Full name: Benjamin Harrison Party: Republican ***** [23] ***** Number: 24 Full name: Grover Cleveland Party: Democratic ***** [24] ***** Number: 25 Full name: William McKinley Party: Republican ***** [25] ***** Number: 26 Full name: Theodore Roosevelt Party: Republican ***** [26] ***** Number: 27 Full name: William Howard Taft Party: Republican ***** [27] ***** Number: 28 Full name: Woodrow Wilson Party: Democratic ***** [28] ***** Number: 29 Full name: Warren G. Harding Party: Republican ***** [29] ***** Number: 30 Full name: Calvin Coolidge Party: Republican ***** [30] ***** Number: 31 Full name: Herbert Hoover Party: Republican ***** [31] ***** Number: 32 Full name: Franklin D. Roosevelt Party: Democratic ***** [32] ***** Number: 33 Full name: Harry S. Truman Party: Democratic ***** [33] ***** Number: 34 Full name: Dwight D. Eisenhower Party: Republican ***** [34] ***** Number: 35 Full name: John F. Kennedy Party: Democratic ***** [35] ***** Number: 36 Full name: Lyndon B. Johnson Party: Democratic ***** [36] ***** Number: 37 Full name: Richard Nixon Party: Republican ***** [37] ***** Number: 38 Full name: Gerald Ford Party: Republican ***** [38] ***** Number: 39 Full name: Jimmy Carter Party: Democratic ***** [39] ***** Number: 40 Full name: Ronald Reagan Party: Republican ***** [40] ***** Number: 41 Full name: George H. W. Bush Party: Republican ***** [41] ***** Number: 42 Full name: Bill Clinton Party: Democratic ***** [42] ***** Number: 43 Full name: George W. Bush Party: Republican ***** [43] ***** Number: 44 Full name: Barack Obama Party: Democratic ***** [44] ***** Number: 45 Full name: Donald Trump Party: Republican ***** [45] ***** Number: 46 Full name: Joseph Biden Party: Democratic ***** [46] ***** Number: 47 Full name: Donald Trump Party: Republican ***** Party Totals: ***** Democratic: 16 Democratic-Republican: 4 Federalist: 1 National Union: 1 Republican: 20 Unaffiliated: 1 Whig: 4 *** Objective 2 complete. *** Adams, 2, Federalist Adams, 6, Democratic-Republican Arthur, 21, Republican Biden, 46, Democratic Buchanan, 15, Democratic Bush, 41, Republican Bush, 43, Republican Carter, 39, Democratic Cleveland, 22, Democratic Cleveland, 24, Democratic Clinton, 42, Democratic Coolidge, 30, Republican Eisenhower, 34, Republican Fillmore, 13, Whig Ford, 38, Republican Garfield, 20, Republican Grant, 18, Republican Harding, 29, Republican Harrison, 9, Whig Harrison, 23, Republican Hayes, 19, Republican Hoover, 31, Republican Jackson, 7, Democratic Jefferson, 3, Democratic-Republican Johnson, 17, National Union Johnson, 36, Democratic Kennedy, 35, Democratic Lincoln, 16, Republican Madison, 4, Democratic-Republican McKinley, 25, Republican Monroe, 5, Democratic-Republican Nixon, 37, Republican Obama, 44, Democratic Pierce, 14, Democratic Polk, 11, Democratic Reagan, 40, Republican Roosevelt, 26, Republican Roosevelt, 32, Democratic Taft, 27, Republican Taylor, 12, Whig Truman, 33, Democratic Trump, 45, Republican Trump, 47, Republican Tyler, 10, Whig Van Buren, 8, Democratic Washington, 1, Unaffiliated Wilson, 28, Democratic