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_24 (long INTEGER, avg VARCHAR, rec VARCHAR)
### Question:
Name the sum of long for avg less than 6 and rec less than 2
### Answer:
SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2