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

### Instruction:
What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?

### Inputs:
table_name: table, columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']

### Response:
SELECT MAX Wins FROM table WHERE Goals against < 51 AND Points > 39 AND Goal Difference < 13