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

Question: Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894?
SQL: SELECT MAX(long) FROM table_name_22 WHERE loss > 3 AND gain > 2 OFFSET 894