




"""simple docstring"""

from collections import defaultdict






def 						_snake_case     (					_snake_case							:					Optional[Any]				,  _snake_case							:					Tuple							)    ->					bool:






      '''simple docstring'''


      _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(__lowerCAmelCase							) != len(__lowerCAmelCase							):
            return False

      # Default values for count should be 0
      _A					   =   defaultdict(__lowerCAmelCase							)

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

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









def 		SCREAMING_SNAKE_CASE							(					__lowerCAmelCase					,    __lowerCAmelCase			) ->	int:
     while b:
          UpperCamelCase__				,     UpperCamelCase__			:   int       				=  b, a % b
     return a







def 		SCREAMING_SNAKE_CASE							(					__lowerCAmelCase					,    __lowerCAmelCase			) ->	int:
     return a if b == 0 else euclidean_gcd_recursive(__lowerCAmelCase					,    a % b			)







def 		SCREAMING_SNAKE_CASE							(					) ->	str:
     print(f'euclidean_gcd(3, 5) = {euclidean_gcd(3					,    5			)}'			)
     print(f'euclidean_gcd(5, 3) = {euclidean_gcd(5					,    3			)}'			)
     print(f'euclidean_gcd(1, 3) = {euclidean_gcd(1					,    3			)}'			)
     print(f'euclidean_gcd(3, 6) = {euclidean_gcd(3					,    6			)}'			)
     print(f'euclidean_gcd(6, 3) = {euclidean_gcd(6					,    3			)}'			)

     print(f'euclidean_gcd_recursive(3, 5) = {euclidean_gcd_recursive(3					,    5			)}'			)
     print(f'euclidean_gcd_recursive(5, 3) = {euclidean_gcd_recursive(5					,    3			)}'			)
     print(f'euclidean_gcd_recursive(1, 3) = {euclidean_gcd_recursive(1					,    3			)}'			)
     print(f'euclidean_gcd_recursive(3, 6) = {euclidean_gcd_recursive(3					,    6			)}'			)
     print(f'euclidean_gcd_recursive(6, 3) = {euclidean_gcd_recursive(6					,    3			)}'			)


if __name__ == "__main__":
 main()