



from collections import defaultdict


def A						(       __UpperCamelCase ,	__UpperCamelCase					)						->      bool:
			A__       =    first_str.lower().strip()
			A__       =    second_str.lower().strip()

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

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

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

							SCREAMING_SNAKE_CASE__       =      check_anagrams(input_a, input_b)
							print(f'{input_a} and {input_b} are {"" if status else "not "}anagrams.')









def A						(       __UpperCamelCase					)						->      bool:
			return number & 1 == 0


if __name__ == "__main__":
							import doctest

							doctest.testmod()




