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

### Instruction:
Name the least series number with production code of 717 and season number less than 17

### Inputs:
table_name: table, columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Original air date', 'Production code']

### Response:
SELECT MIN Series # FROM table WHERE Production code = 717 AND Season # < 17