text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
  ### Question:
  What class had fewer than 336 laps in 2004?
  ### Answer:
  SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004