human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rider, Manufacturer, Laps, Time/Retired, Grid
###Question: How many grids correspond to more than 24 laps?
gpt
SELECT MAX Grid FROM table WHERE Laps > 24