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

### Instruction:
What was Lee Smith's highest number of goals when he made fewer than 364 appearances?

### Inputs:
table_name: table, columns: ['Name', 'Career', 'Goals', 'Appearances', 'Goals/Game Ratio']

### Response:
SELECT MAX Goals FROM table WHERE Name = lee smith AND Appearances < 364