input: from typing import List
  
  
  def autocomplete(input_text: str) -> List[str]:
      """ Given an input text, generate the top 5 word candidates that could complete the input.
      >>> autocomplete("hel")
      ['hello', 'help', 'helmet', 'helpdesk', 'helix']
      >>> autocomplete("goo")
      ['good', 'google', 'goodbye', 'goon', 'goose']
      """
output:     word_list = ['hello', 'help', 'helmet', 'helpdesk', 'helix', 'good', 'google', 'goodbye', 'goon', 'goose']
      candidates = [word for word in word_list if word.startswith(input_text)]
      return sorted(candidates)[:5]