CREATE TABLE table_name_16 (grid INTEGER, time_retired VARCHAR(255), laps VARCHAR(255))
When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
    
SQL: SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18