




'''simple docstring'''


import math
def 						lowerCamelCase__   (				a    ,	a							):
						return math.pow(a    ,	2							) - a
def 						lowerCamelCase__   (				a							):
						return 2 * x
def 						lowerCamelCase__   (				a							):
						__snake_case						 =   2.0

						while start <= a:
												__snake_case						 =   math.pow(a    ,	2							)

						return start
def 						lowerCamelCase__   (				a    ,	a = 9999    ,	a = 0.00_000_000_000_001							):

						if a < 0:
												raise ValueError('math domain error'							)

						__snake_case						 =   get_initial_point(a							)

						for _ in range(a							):
												__snake_case						 =   value
												__snake_case						 =   value - fx(a    ,	a							) / fx_derivative(a							)
												if abs(prev_value - value							) < tolerance:
																		return value

						return value


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

	testmod()







'''simple docstring'''


from collections import defaultdict
def 						lowerCamelCase__   (				a    ,	a							):
						__snake_case						 =   first_str.lower().strip()
						__snake_case						 =   second_str.lower().strip()

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

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

						# Default values for count should be 0
						__snake_case						 =   defaultdict(a							)

						# For each character in input strings,
						# increment count in the corresponding
						for i in range(len(a							)							):
												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()
	_lowercase  =			input("""Enter the first string """).strip()
	_lowercase  =			input("""Enter the second string """).strip()

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

