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_40 (total INTEGER, gold VARCHAR, silver VARCHAR)
  ### Question:
  Who scored the lowest with 8 gold medals and less than 4 silver medals?
  ### Answer:
  SELECT MIN(total) FROM table_name_40 WHERE gold = 8 AND silver < 4