Instruct: What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
Output: SELECT MAX Grid FROM table WHERE Manufacturer = aprilia AND Time = retirement AND Laps > 5