human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Athlete, Sport, Type, Olympics, Gold, Silver, Bronze, Total
###Question: What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals?
gpt
SELECT AVG Gold FROM table WHERE Bronze = 1 AND Type = winter AND Silver < 3 AND Total < 4