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

### Instruction:
How many runs allowed did the team ranked 2 with more than 2 losses have?

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

### Response:
SELECT AVG Runs Allowed FROM table WHERE Rank = 2 AND Losses > 2