CREATE TABLE table_name_77 (class VARCHAR(255), laps VARCHAR(255), year VARCHAR(255))
What class had fewer than 336 laps in 2004?
    
SQL: SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004