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

### Instruction:
What was the greatest number of Losses for the team that had 1427 Against and more than 5 Wins?

### Inputs:
table_name: table, columns: ['Ballarat FL', 'Wins', 'Byes', 'Losses', 'Draws', 'Against']

### Response:
SELECT MAX Losses FROM table WHERE Against > 1427 AND Wins > 5