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

### Instruction:
What is the average number of losses the team with less than 25 runs allowed and 5 wins have?

### Inputs:
table_name: table, columns: ['Rank', 'Team', 'Wins', 'Losses', 'Runs Allowed', 'Run Ratio']

### Response:
SELECT AVG Losses FROM table WHERE Runs Allowed < 25 AND Wins = 5