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

### Instruction:
What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30?

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

### Response:
SELECT MAX Losses FROM table WHERE Position < 6 AND Wins > 11 AND Points = 36 AND Played > 30