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_56 (total INTEGER, rank VARCHAR, bronze VARCHAR)
  ### Question:
  What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?
  ### Answer:
  SELECT SUM(total) FROM table_name_56 WHERE rank = "6" AND bronze < 2