input: def extract_words_with_consonants(s, n):
      """Given a string s and a natural number n, develop a function that provides 
      a list of words from s containing exactly n consonants, maintaining their 
      original order in s.
      If the input string s is empty, the function should return an empty list.
      Note: assume that the string includes only alphabetic characters and spaces.
      Examples:
      extract_words_with_consonants("Mary had a little lamb", 4) ==> ["little"]
      extract_words_with_consonants("Mary had a little lamb", 3) ==> ["Mary", "lamb"]
      extract_words_with_consonants("simple white space", 2) ==> []
      extract_words_with_consonants("Hello world", 4) ==> ["world"]
      extract_words_with_consonants("Uncle sam", 3) ==> ["Uncle"]
      """
output:     
      vowels = set('aeiouAEIOU')
  
      if not s:
          return []
  
      words = s.split()
      result = []
  
      for word in words:
          consonant_count = sum(1 for char in word if char.isalpha() and char not in vowels)
          if consonant_count == n:
              result.append(word)
  
      return result
  