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

### Instruction:
What Chassis has g Tyres before 1987?

### Inputs:
table_name: table, columns: ['Year', 'Entrant', 'Chassis', 'Engine', 'Tyres', 'Points']

### Response:
SELECT Chassis FROM table WHERE Tyres = g AND Year < 1987