






from collections import defaultdict







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase ,   __lowerCAmelCase      )			->     Any:
     UpperCamelCase__      :       str	    =  first_str.lower().strip()
     UpperCamelCase__      :       str	    =  second_str.lower().strip()

     # Remove whitespace
     UpperCamelCase__      :       int	    =  first_str.replace(" " ,   ""      )
     UpperCamelCase__      :       Optional[Any]	    =  second_str.replace(" " ,   ""      )

     # Strings of different lengths are not anagrams
     if len(__lowerCAmelCase      ) != len(__lowerCAmelCase      ):
          return False

     # Default values for count should be 0
     UpperCamelCase__      :       Optional[Any]	    =  defaultdict(__lowerCAmelCase      )

     # For each character in input strings,
     # increment count in the corresponding
     for i in range(len(__lowerCAmelCase      )      ):
          count[first_str[i]] += 1
          count[second_str[i]] -= 1

     return all(_count == 0 for _count in count.values()      )


if __name__ == "__main__":
 from doctest import testmod

 testmod()
 lowerCamelCase     :							List[Any]    =input('''Enter the first string ''').strip()
 lowerCamelCase     :							Union[str, Any]    =input('''Enter the second string ''').strip()

 lowerCamelCase     :							Tuple    =check_anagrams(input_a, input_b)
 print(F"""{input_a} and {input_b} are {"" if status else "not "}anagrams.""")







from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCamelCase     :							Dict    =logging.get_logger(__name__)





class       __a  (   A__	):
 _lowerCAmelCase	:	Optional[int]				=			'''timm_backbone'''







 def __init__(		self :       Dict							,       SCREAMING_SNAKE_CASE :       Dict=None							,       SCREAMING_SNAKE_CASE :       List[Any]=3							,       SCREAMING_SNAKE_CASE :       List[Any]=True							,       SCREAMING_SNAKE_CASE :       Dict=True							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=None							,       **SCREAMING_SNAKE_CASE :       int							,       ):


      '''simple docstring'''






      super().__init__(**SCREAMING_SNAKE_CASE						)
      UpperCamelCase__      :       Union[str, Any]	    =  backbone
      UpperCamelCase__      :       Dict	    =  num_channels
      UpperCamelCase__      :       str	    =  features_only
      UpperCamelCase__      :       Dict	    =  use_pretrained_backbone
      UpperCamelCase__      :       Tuple	    =  True
      UpperCamelCase__      :       List[Any]	    =  out_indices if out_indices is not None else (-1,)