input: def autocomplete(input_text: str) -> List[str]:
      """
      Develops an autocomplete system that predicts words based on the input text.
      This function generates word candidates from the input text, filters them,
      ranks them, and returns the top 5 predictions.
      >>> autocomplete("pro")
      ['program', 'produce', 'process', 'product', 'professional']
      >>> autocomplete("hel")
      ['help', 'held', 'hello', 'helps', 'helper']
      """
output:     word_list = ['program', 'produce', 'process', 'product', 'professional', 'help', 'held', 'hello', 'helps', 'helper']
      candidates = [word for word in word_list if word.startswith(input_text)]
      candidates.sort()
      return candidates[:5]