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_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR)
### Question:
What was the highest long with less than 7 losses and an Avg/G smaller than 25.1?
### Answer:
SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.1