user: ### NOW ANSWER:
Question: When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
Columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Michael Schumacher', 'Ferrari', 69.0, '1:40:57.335', 3.0]
SQL:

assistant: SELECT MIN("Grid") FROM "Table" WHERE "Time/Retired" = 'accident' AND "Laps" < 18.0;