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_60 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
### Question:
Which Avg/G has a Name of david allen, and a Gain larger than 371?
### Answer:
SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371