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

### Instruction:
What was the number of Laps with a Grid of more than 3 and Time of 39:24.967?

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

### Response:
SELECT MIN Laps FROM table WHERE Grid > 3 AND Time = 39:24.967