question: WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387?
answer: SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387
context: CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR)