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_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
### Answer:
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9