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

### Instruction:
Name the least total with rank less than 7, gold more than 16 and bronze less than 29

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

### Response:
SELECT MIN Total FROM table WHERE Rank < 7 AND Gold > 16 AND Bronze < 29