

'''simple docstring'''





def 							_lowerCAmelCase (      __magic_name__	:    Dict	)							->     int:
						lowercase   :       int								=1
						lowercase   :       str								=2
						while i * i <= n:
												lowercase   :       Union[str, Any]								=0
												while n % i == 0:
																		n //= i
																		multiplicity += 1
												n_divisors *= multiplicity + 1
												i += 1
						if n > 1:
												n_divisors *= 2
						return n_divisors






def 							_lowerCAmelCase (      )							->     Tuple:
						lowercase   :       Tuple								=1
						lowercase   :       Any								=1

						while True:
												i += 1
												t_num += i

												if count_divisors(_SCREAMING_SNAKE_CASE	) > 500:
																		break

						return t_num


if __name__ == "__main__":
							print(solution())








'''simple docstring'''





from collections import defaultdict






def 							_lowerCAmelCase (      __magic_name__	:    str      ,   __magic_name__	:    str	)							->     bool:
						lowercase   :       Optional[int]								=first_str.lower().strip()
						lowercase   :       Union[str, Any]								=second_str.lower().strip()

						# Remove whitespace
						lowercase   :       Optional[int]								=first_str.replace(''' '''      ,   ''''''	)
						lowercase   :       Optional[Any]								=second_str.replace(''' '''      ,   ''''''	)

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

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

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

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





