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

### Instruction:
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?

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

### Response:
SELECT SUM Wins FROM table WHERE Ties < 2 AND Goals Against = 18 AND Losses < 2