CREATE TABLE table_name_83 (grid NUMBER, laps VARCHAR2, time_retired VARCHAR2, driver VARCHAR2)

What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps?
SELECT SUM(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "teo fabi" AND laps < 39
SELECT SUM("grid") FROM "table_name_83" WHERE "driver" = "teo fabi" AND "engine" = "time_retired" AND "laps" < 39