SCHEMA:
CREATE TABLE table_name_60 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
USER:
Which Avg/G has a Name of david allen, and a Gain larger than 371?

QUERY:
SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371