CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR(255))
What is the average First Elected, when District is "Massachusetts 3"?
    
SQL: SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3"