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

### Instruction:
What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?

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

### Response:
SELECT SUM Gold FROM table WHERE Total = 12 AND Bronze < 4