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

### Instruction:
How many ties do teams with 25 Goals For and more than 5 wins have?

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

### Response:
SELECT SUM Ties FROM table WHERE Goals For = 25 AND Wins > 5