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

### Instruction:
What is the largest Goals For by a team that has more than 0 ties?

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

### Response:
SELECT MAX Goals For FROM table WHERE Ties > 0