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

### Instruction:
When is the most recent year with more than 27 points and more than 5 wins?

### Inputs:
table_name: table, columns: ['Year', 'Class', 'Team', 'Points', 'Wins']

### Response:
SELECT MAX Year FROM table WHERE Points > 27 AND Wins > 5