Table schema:
CREATE TABLE table_name_12 (loss INTEGER, gain VARCHAR, avg_g VARCHAR, long VARCHAR)

Question: What is the loss when the average/gain is less than 16.7, gain is 104 and long is larger than 4?
SQL: SELECT AVG(loss) FROM table_name_12 WHERE avg_g < 16.7 AND long > 4 AND gain = 104