Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Which Grid has Laps smaller than 24, and a Time of retirement?

### Inputs:
table_name: table, columns: ['Rider', 'Manufacturer', 'Laps', 'Time', 'Grid']

### Response:
SELECT MIN Grid FROM table WHERE Laps < 24 AND Time = retirement