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

### Instruction:
What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?

### Inputs:
table_name: table, columns: ['Rider', 'Manufacturer', 'Laps', 'Time', 'Grid']

### Response:
SELECT MAX Grid FROM table WHERE Manufacturer = aprilia AND Time = retirement AND Laps > 5