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

### Instruction:
What is the gold when silver is less than 1, rank is 12, and total is less than 3?

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

### Response:
SELECT MAX Gold FROM table WHERE Silver < 1 AND Rank = 12 AND Total < 3