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_59 (long INTEGER, loss VARCHAR, gain VARCHAR)
  ### Question:
  When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?
  ### Answer:
  SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405