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 (win__percentage INTEGER, manager VARCHAR, lost VARCHAR)
  ### Question:
  What is the highes win % that manager juan carlos chávez's team had when they lost less than 4 times?
  ### Answer:
  SELECT MAX(win__percentage) FROM table_name_40 WHERE manager = "juan carlos chávez" AND lost < 4