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_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?
### Answer:
SELECT MAX(long) FROM table_name_22 WHERE loss > 3 AND gain > 2 OFFSET 894