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

### Instruction:
What is the lowest number of games loss with a Points difference of 40 - 17, and over 6 games?

### Inputs:
table_name: table, columns: ['Games', 'Drawn', 'Lost', 'Points difference', 'Points']

### Response:
SELECT MIN Lost FROM table WHERE Points difference = 40 - 17 AND Games > 6