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_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
  ### Question:
  What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5?
  ### Answer:
  SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5