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_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
  ### Question:
  Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
  ### Answer:
  SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4