input: def check_word_validity(word: str) -> bool:
      """
      A word is considered valid if it meets the following criteria:
  
      It has a minimum length of 3 characters.
      It consists solely of digits (0-9) and English letters (both uppercase and lowercase).
      It contains at least one vowel.
      It contains at least one consonant.
      Given a string word, determine its validity.
  
      Return true if the word is valid; otherwise, return false.
  
      Notes:
  
      'a', 'e', 'i', 'o', 'u' and their uppercase versions are considered vowels.
      Any English letter that is not a vowel is categorized as a consonant.
  
      Examples:
      >>> word = "234Adas"
      true
      >>> word = "b3"
      false
      >>> word = "a3$e"
      false
  
      Constraints:
      1 <= word.length <= 20
      word may include English uppercase and lowercase letters, digits, '@', '#', and '$'.
      """
output:     
      if len(word) < 3:
          return False
  
      vowels = set("aeiouAEIOU")
      consonants = set("bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ")
      
      has_vowel = False
      has_consonant = False
  
      for char in word:
          if char.isdigit() or char.isalpha():
              if char in vowels:
                  has_vowel = True
              elif char in consonants:
                  has_consonant = True
          else:
              return False
  
      return has_vowel and has_consonant
  