user: ### NOW ANSWER:
Question: When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid?
Columns: ['Driver', 'Constructor', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Nino Farina', 'Alfa Romeo', 80.0, '2:51:17.4', 3.0]
SQL:

assistant: SELECT MAX("Grid") FROM "Table" WHERE "Laps" < 39.0 AND "Driver" = 'Juan Manuel Fangio';