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_96 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)
  ### Question:
  what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
  ### Answer:
  SELECT MIN(laps) FROM table_name_96 WHERE manufacturer = "gilera" AND rider = "marco simoncelli" AND grid < 8