input: def autocomplete(input_text: str) -> List[str]:
      """ Generate an autocomplete system that predicts words based on the input text.
      The system should generate word candidates, filter them, and return the top 5 ranked words.
      >>> autocomplete('hel')
      ['hello', 'help', 'helmet', 'helper', 'hell']
      >>> autocomplete('pro')
      ['project', 'process', 'programming', 'program', 'product']
      """
output:     word_candidates = ['hello', 'help', 'helmet', 'helper', 'hell', 'project', 'process', 'programming', 'program', 'product']
      filtered_words = [word for word in word_candidates if word.startswith(input_text)]
      return sorted(filtered_words)[:5]