Table schema:
CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)

Question: How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes?
SQL: SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7"