input: def autocomplete(input_text):
      """
      Given an input text, this function generates word candidates, filters them, and returns the top 5 words in descending order of relevance.
      >>> autocomplete("hello")
      ['hello', 'hello world', 'hello there', 'hello everyone', 'hello sir']
      >>> autocomplete("python")
      ['python', 'python programming', 'python tutorial', 'python for beginners', 'python code']
      """
output:     word_candidates = [
          "hello", "hello world", "hello there", "hello everyone", "hello sir",
          "python", "python programming", "python tutorial", "python for beginners", "python code"
      ]
      
      filtered_candidates = [word for word in word_candidates if word.startswith(input_text)]
      
      sorted_candidates = sorted(filtered_candidates, key=lambda x: len(x))
      
      return sorted_candidates[:5]