"""simple docstring"""




from collections import defaultdict





def 							SCREAMING_SNAKE_CASE  (    _lowerCamelCase		: str    ,_lowerCamelCase		: str			) ->   bool:
		_lowerCAmelCase		: List[Any]						    =  first_str.lower().strip()
		_lowerCAmelCase		: Union[str, Any]						    =  second_str.lower().strip()

		# Remove whitespace
		_lowerCAmelCase		: str						    =  first_str.replace(""" """    ,""""""			)
		_lowerCAmelCase		: 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
		_lowerCAmelCase		: defaultdict[str, int]						    =  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()
					_a   :	Union[str, Any] 					=     input('Enter the first string ').strip()
					_a   :	Union[str, Any] 					=     input('Enter the second string ').strip()

					_a   :	List[str] 					=     check_anagrams(input_a, input_b)
					print(F"""{input_a} and {input_b} are {"" if status else "not "}anagrams.""")





"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


_a   :	Union[str, Any] 					=     {}

try:
     if not is_sentencepiece_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _a   :	Tuple 					=     ['GPTSw3Tokenizer']


if TYPE_CHECKING:
     try:
          if not is_sentencepiece_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .tokenization_gpt_swa import GPTSwaTokenizer

else:
     import sys

     _a   :	Optional[int] 					=     _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




