input: def autocomplete(input_text: str) -> List[str]:
      """Generate an autocomplete system that predicts words based on the input text.
      The function generates word candidates from the input text, filters them, ranks them,
      and returns the top 5 predicted words.
      >>> autocomplete("hel")
      ['hello', 'help', 'hell', 'helm', 'helmet']
      >>> autocomplete("app")
      ['apple', 'application', 'apply', 'appendix', 'appetite']
      """
output:     word_list = ['hello', 'help', 'hell', 'helm', 'helmet', 'apple', 'application', 'apply', 'appendix', 'appetite']
      filtered_words = [word for word in word_list if word.startswith(input_text)]
      filtered_words.sort()
      return filtered_words[:5]