






'''simple docstring'''







from collections import defaultdict





def  SCREAMING_SNAKE_CASE_       (UpperCamelCase				,			UpperCamelCase      )      ->       bool:
							lowerCamelCase__					:	List[str]         =       first_str.lower().strip()
							lowerCamelCase__					:	Dict         =       second_str.lower().strip()

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

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

							# Default values for count should be 0
							lowerCamelCase__					:	defaultdict[str, int]         =       defaultdict(UpperCamelCase      )

							# For each character in input strings,
							# increment count in the corresponding
							for i in range(len(UpperCamelCase      )      ):
														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	:			Optional[Any]         =input('''Enter the first string ''').strip()
			_A	:			str         =input('''Enter the second string ''').strip()

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









import warnings


warnings.warn(
    'memory_utils has been reorganized to utils.memory. Import `find_executable_batchsize` from the main `__init__`: '
    '`from accelerate import find_executable_batch_size` to avoid this warning.',
    FutureWarning,
)




