Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871?

### Inputs:
table_name: table, columns: ['Number', 'Builder', 'Type', 'Date', 'Works number']

### Response:
SELECT Works number FROM table WHERE Builder = avonside engine company AND Type = 4-6-0 AND Number < 12 AND Date = december 1871