text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_96 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
  ### Question:
  what is the average bronze when gold is 1, the nation is hungary and the rank is less than 3?
  ### Answer:
  SELECT AVG(bronze) FROM table_name_96 WHERE gold = 1 AND nation = "hungary" AND rank < 3