CREATE TABLE table_51014 ("Constituency" TEXT, "Electorate" FLOAT, "Votes" FLOAT, "Turnout" FLOAT, "Spoilt" FLOAT, "Percent Yes" FLOAT)

WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387?
SELECT AVG("Votes") FROM table_51014 WHERE "Constituency" = 'dublin south' AND "Spoilt" < '3,387'
SELECT AVG("Votes") FROM "table_51014" WHERE "Constituency" = 'dublin south' AND "Spoilt" < '3,387'