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 (league INTEGER, player VARCHAR, total VARCHAR)
### Question:
What was the average league with Kris Doolan and a total less than 5?
### Answer:
SELECT AVG(league) FROM table_name_22 WHERE player = "kris doolan" AND total < 5