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_7 (grid INTEGER, time VARCHAR, laps VARCHAR)
  ### Question:
  What grid has an average time of +22.505 and laps larger than 23?
  ### Answer:
  SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23