input: from typing import List, Tuple
  
  def frequent_words(words: List[str], n: int) -> Tuple[List[str], List[str]]:
      """ Return a list of words that appear at least n times in the given list. Also,
      return a list of the corresponding counts of these frequent words.
      
      >>> frequent_words(['a', 'b', 'a', 'c', 'd', 'a', 'x', 'd', 'd'], 3)
      (['a', 'd'], [3, 3])
      >>> frequent_words(['apple', 'banana', 'apple', 'banana', 'orange'], 2)
      (['apple', 'banana'], [2, 2])
      """
      from collections import Counter
      counts = Counter(words)
      frequent_list = [word for word, count in counts.items() if count >= n]
      counts_list = [counts[word] for word in frequent_list]
      return frequent_list, counts_list
output:     from collections import Counter
      counts = Counter(words)
      frequent_list = [word for word, count in counts.items() if count >= n]
      counts_list = [counts[word] for word in frequent_list]
      return frequent_list, counts_list