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

### Instruction:
Of the teams that lost 5 games, what is the highest number of wins?

### Inputs:
table_name: table, columns: ['Province', 'Skip', 'W', 'L', 'PF', 'PA', 'Ends Won', 'Ends Lost', 'Blank Ends', 'Stolen Ends', 'Shot Pct.']

### Response:
SELECT MAX W FROM table WHERE L = 5