



import re

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:List[str]				)  ->     list:
   return [char.split() for char in re.split(r'''[^ a-z A-Z 0-9 \s]'''	,   str_				)]

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:Dict				)  ->     str:
   _A      =       split_input(str_				)
   return "".join(
       [''''''.join([char.capitalize() for char in sub_str]				) for sub_str in string_split]				)

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:List[Any]	,   _snake_case	:Optional[Any]	,   _snake_case	:str				)  ->     str:
   try:
      _A      =       split_input(_snake_case				)
      if upper:
         _A      =       ''''''.join(
             [
                 separator.join([char.upper() for char in sub_str]				)
                 for sub_str in string_split
             ]				)
      else:
         _A      =       ''''''.join(
             [
                 separator.join([char.lower() for char in sub_str]				)
                 for sub_str in string_split
             ]				)
      return res_str
   except IndexError:
      return "not valid string"

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:List[Any]				)  ->     str:
   return to_simple_case(_snake_case				)

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:Optional[int]				)  ->     str:
   try:
      _A      =       to_simple_case(_snake_case				)
      return res_str[0].lower() + res_str[1:]
   except IndexError:
      return "not valid string"

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:str	,   _snake_case	:Tuple				)  ->     str:
   return to_complex_case(_snake_case	,   _snake_case	,   '''_'''				)

def 	SCREAMING_SNAKE_CASE_							(	_snake_case	:Union[str, Any]	,   _snake_case	:List[Any]				)  ->     str:
   return to_complex_case(_snake_case	,   _snake_case	,   '''-'''				)


if __name__ == "__main__":
   __import__("""doctest""").testmod()









from collections import defaultdict


def 					_a							(					lowerCAmelCase    ,						lowerCAmelCase )->	bool:
		SCREAMING_SNAKE_CASE_					      =							first_str.lower().strip()
		SCREAMING_SNAKE_CASE_					      =							second_str.lower().strip()

		# Remove whitespace
		SCREAMING_SNAKE_CASE_					      =							first_str.replace(' '    ,						'' )
		SCREAMING_SNAKE_CASE_					      =							second_str.replace(' '    ,						'' )

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

		# Default values for count should be 0
		SCREAMING_SNAKE_CASE_					      =							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()
						SCREAMING_SNAKE_CASE:     Dict									= input('''Enter the first string ''').strip()
						SCREAMING_SNAKE_CASE:     str									= input('''Enter the second string ''').strip()

						SCREAMING_SNAKE_CASE:     Optional[Any]									= check_anagrams(input_a, input_b)
						print(f"""{input_a} and {input_b} are {'' if status else 'not '}anagrams.""")