CREATE TABLE table_18294 ("District" CLOB, "Incumbent" CLOB, "Party" CLOB, "First elected" FLOAT, "Result" CLOB, "Candidates" CLOB)

what's the party with dbeingtrict being massachusetts 3
SELECT "Party" FROM table_18294 WHERE "District" = 'Massachusetts 3'
SELECT "Party" FROM "table_18294" WHERE "District" = 'Massachusetts 3'