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

### Instruction:
what is the average losses when the wins is 9 and ties more than 0?

### Inputs:
table_name: table, columns: ['Team', 'Games Played', 'Wins', 'Losses', 'Ties', 'Goals For', 'Goals Against']

### Response:
SELECT AVG Losses FROM table WHERE Wins = 9 AND Ties > 0