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

### Instruction:
What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?

### Inputs:
table_name: table, columns: ['Year', 'Games', 'Rushes', 'Yards', 'Average']

### Response:
SELECT MAX Yards FROM table WHERE Rushes < 51 AND Games > 12