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, driver VARCHAR, grid VARCHAR)
### Question:
When the driver peter gethin has a grid less than 25, what is the average number of laps?
### Answer:
SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25