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_26 (long INTEGER, gain VARCHAR, loss VARCHAR, avg_g VARCHAR)
  ### Question:
  When the Gain is 29, and the average per game is 2, and the player lost less than 390 yards, what's the sum of the Long yards?
  ### Answer:
  SELECT SUM(long) FROM table_name_26 WHERE loss < 390 AND avg_g = 2 AND gain > 29