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_23 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### Question:
What is the average lap time for retired time of +23.707 and a Grid greater than 21?
### Answer:
SELECT AVG(laps) FROM table_name_23 WHERE time_retired = "+23.707" AND grid > 21