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

### Instruction:
what is the highest wins when the losses is less than 1, team is rams and the games is more than 8?

### Inputs:
table_name: table, columns: ['Quarterback', 'Games', 'Teams', 'Wins', 'Losses', 'Percent']

### Response:
SELECT MAX Wins FROM table WHERE Losses < 1 AND Teams = rams AND Games > 8