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

### Instruction:
Which nation has more than 6 Silver medals and fewer than 8 Gold medals?

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

### Response:
SELECT AVG Total FROM table WHERE Silver > 6 AND Gold < 8