input: def filter_words_by_consonants(s, n):
      """Given a string s and a natural number n, your task is to create a 
      function that returns a list of words from string s that have exactly 
      n consonants, maintaining their original order in the string s.
      If the string s is empty, the function should return an empty list.
      Note: you may assume the input string contains only letters and spaces.
      Examples:
      filter_words_by_consonants("Mary had a little lamb", 4) ==> ["little"]
      filter_words_by_consonants("Mary had a little lamb", 3) ==> ["Mary", "lamb"]
      filter_words_by_consonants("simple white space", 2) ==> []
      filter_words_by_consonants("Hello world", 4) ==> ["world"]
      filter_words_by_consonants("Uncle sam", 3) ==> ["Uncle"]
      """
output:     
      vowels = set('aeiouAEIOU')
      words = s.split()
      result = []
  
      for word in words:
          consonant_count = sum(1 for char in word if char not in vowels)
          if consonant_count == n:
              result.append(word)
  
      return result
  