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

### Instruction:
what is the average total when silver is more than 2, bronze is 12 and gold is less than 12?

### Inputs:
table_name: table, columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']

### Response:
SELECT AVG Total FROM table WHERE Silver > 2 AND Bronze = 12 AND Gold < 12