from collections import defaultdict




def    lowerCAmelCase_  (		lowercase:				str	,       lowercase:				str		)     ->					bool:







 '''simple docstring'''
 _UpperCamelCase:  Optional[Any]    						=			first_str.lower().strip()
 _UpperCamelCase:  Optional[int]    						=			second_str.lower().strip()

 # Remove whitespace
 _UpperCamelCase:  Union[str, Any]    						=			first_str.replace(''' '''	,       ''''''		)
 _UpperCamelCase:  Union[str, Any]    						=			second_str.replace(''' '''	,       ''''''		)

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

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

 # For each character in input strings,
 # increment count in the corresponding
 for i in range(len(lowercase		)		):
  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.""")
from pathlib import Path

import fire




def    lowerCAmelCase_  (		lowercase:				str	,       lowercase:				str	,       lowercase:				int		)     ->					int:







 '''simple docstring'''
 _UpperCamelCase:  Any    						=			Path(lowercase		)
 _UpperCamelCase:  int    						=			Path(lowercase		)
 dest_dir.mkdir(exist_ok=lowercase		)
 for path in src_dir.iterdir():
  _UpperCamelCase:  List[str]    						=			[x.rstrip() for x in list(path.open().readlines()		)][:n]
  _UpperCamelCase:  int    						=			dest_dir.joinpath(path.name		)
  print(lowercase		)
  dest_path.open('''w'''		).write('''\n'''.join(lowercase		)		)


if __name__ == "__main__":
  fire.Fire(minify)