input: def autocomplete(input_text: str) -> List[str]:
      """Given an input text, this function generates word candidates that can potentially
      complete the phrase. It then filters these candidates and returns the top 5 words 
      that best match the input text.
      >>> autocomplete("introduc")
      ['introduce', 'introduction', 'introduces', 'introduced', 'introducing']
      >>> autocomplete("example")
      ['example', 'examples', 'exemplary', 'exemption', 'exemplify']
      >>> autocomplete("hel")
      ['help', 'hello', 'helpful', 'helped', 'helping']
      """
output:     word_candidates = ['introduce', 'introduction', 'introduces', 'introduced', 'introducing',
                         'example', 'examples', 'exemplary', 'exemption', 'exemplify',
                         'help', 'hello', 'helpful', 'helped', 'helping']
      
      filtered_candidates = [word for word in word_candidates if word.startswith(input_text)]
      
      return filtered_candidates[:5]