text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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?
  ### Answer:
  SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18