
"""simple docstring"""





def 						_lowerCAmelCase				(				UpperCamelCase_ = 5000_0000				):
		__SCREAMING_SNAKE_CASE            = set()
		__SCREAMING_SNAKE_CASE            = int((limit - 24) ** (1 / 2)				)

		__SCREAMING_SNAKE_CASE            = set(range(3  ,				prime_square_limit + 1  ,				2				)				)
		primes.add(2				)
		for p in range(3  ,				prime_square_limit + 1  ,				2				):
				if p not in primes:
						continue
				primes.difference_update(set(range(p * p  ,				prime_square_limit + 1  ,				UpperCamelCase_				)				)				)

		for primea in primes:
				__SCREAMING_SNAKE_CASE            = primea * primea
				for primea in primes:
						__SCREAMING_SNAKE_CASE            = primea * primea * primea
						if square + cube >= limit - 16:
								break
						for primea in primes:
								__SCREAMING_SNAKE_CASE            = primea * primea * primea * primea
								__SCREAMING_SNAKE_CASE            = square + cube + tetr
								if total >= limit:
										break
								ret.add(UpperCamelCase_				)

		return len(UpperCamelCase_				)


if __name__ == "__main__":
							print(F"""{solution() = }""")






"""simple docstring"""





from collections import defaultdict



def 						_lowerCAmelCase				(				UpperCamelCase_  ,				UpperCamelCase_				):
		__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(UpperCamelCase_				) != len(UpperCamelCase_				):
				return False

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

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




