SCHEMA:
CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
USER:
What is the average number of gold medals won by Brazil for entries with more than 1 bronze medal but a total smaller than 4?

QUERY:
SELECT AVG(gold) FROM table_name_19 WHERE total < 4 AND nation = "brazil" AND bronze > 1