user: ### NOW ANSWER:
Question: Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of Jean-Pierre Beltoise?
Columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Jean-Pierre Beltoise', 'BRM', 80.0, '2:26:55.3', 4.0]
SQL:

assistant: SELECT "Constructor" FROM "Table" WHERE "Grid" < 24.0 AND "Laps" > 77.0 AND "Driver" = 'Jean-Pierre Beltoise';