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

### Instruction:
What is the goal top with caps of 38 and an average less than 0.579?

### Inputs:
table_name: table, columns: ['Name', 'Scotland career', 'Caps', 'Goals', 'Average']

### Response:
SELECT MAX Goals FROM table WHERE Caps = 38 AND Average < 0.579