Schema: CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR)
Question: What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18?
SQL: SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18