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_24 (losses INTEGER, wins VARCHAR)
### Question:
what is the average losses when the wins is 3?
### Answer:
SELECT AVG(losses) FROM table_name_24 WHERE wins = 3