CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR(255), grid VARCHAR(255))
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