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_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
### Question:
What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
### Answer:
SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2