human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Nation, Gold, Silver, Bronze, Total
###Question: What is the average total medals of the nation ranked 1 with less than 1 silver?
gpt
SELECT AVG Total FROM table WHERE Rank = 1 AND Silver < 1