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

### Instruction:
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?

### Inputs:
table_name: table, columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']

### Response:
SELECT MAX Laps FROM table WHERE Grid < 6 AND Time/Retired = halfshaft