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

### Instruction:
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17?

### Inputs:
table_name: table, columns: ['Squad No.', 'Name', 'Position', 'League Apps', 'League Goals', 'FA Cup Apps', 'FA Cup Goals', 'League Cup Apps', 'League Cup Goals', 'FLT Apps', 'FLT Goals', 'Total Apps', 'Total Goals']

### Response:
SELECT AVG Squad No. FROM table WHERE Name = martin smith AND League Goals < 17