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

### Instruction:
Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand?

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

### Response:
SELECT SUM Total FROM table WHERE Bronze > 12 AND Silver > 772 AND Country = thailand