




from collections import defaultdict




def  lowerCAmelCase_ (							UpperCamelCase_					,		UpperCamelCase_  )     ->		str:
       UpperCamelCase_          =  first_str.lower().strip()
       UpperCamelCase_          =  second_str.lower().strip()

       # Remove whitespace
       UpperCamelCase_          =  first_str.replace(" "					,		""  )
       UpperCamelCase_          =  second_str.replace(" "					,		""  )

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

       # Default values for count should be 0
       UpperCamelCase_          =  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()
     _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.''')








import random
from typing import Any




def  lowerCAmelCase_ (							UpperCamelCase_  )     ->		list[Any]:
       for _ in range(len(UpperCamelCase_  )  ):
              UpperCamelCase_          =  random.randint(0					,		len(UpperCamelCase_  ) - 1  )
              UpperCamelCase_          =  random.randint(0					,		len(UpperCamelCase_  ) - 1  )
              UpperCamelCase_       , UpperCamelCase_          =  data[b], data[a]
       return data


if __name__ == "__main__":
     _UpperCAmelCase        =				[0, 1, 2, 3, 4, 5, 6, 7]
     _UpperCAmelCase        =				['python', 'says', 'hello', '!']
     print('Fisher-Yates Shuffle:')
     print('List', integers, strings)
     print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))

