CREATE TABLE table_name_12 (loss INT, gain VARCHAR, avg_g VARCHAR, long VARCHAR)

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