


from pathlib import Path

import fire

def       lowercase_		(		_A			:    str    ,					_A			:    str    ,					_A			:    int						):

      """simple docstring"""




      lowerCamelCase__		:				List[str]    =  Path(_A						)
      lowerCamelCase__		:				Dict    =  Path(_A						)
      dest_dir.mkdir(exist_ok=_A						)
      for path in src_dir.iterdir():
            lowerCamelCase__		:				str    =  [x.rstrip() for x in list(path.open().readlines()						)][:n]
            lowerCamelCase__		:				Tuple    =  dest_dir.joinpath(path.name						)
            print(_A						)
            dest_path.open("w"						).write("\n".join(_A						)						)


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






def       lowercase_		(		_A			:    int    ,					_A			:    int						):

      """simple docstring"""




      while a != 0:
            lowerCamelCase__    ,   lowerCamelCase__		:				Optional[Any]    =  b % a, a
      return b


def       lowercase_		(		_A			:    int    ,					_A			:    int						):

      """simple docstring"""




      if gcd(_A    ,					_A						) != 1:
            lowerCamelCase__		:				List[str]    =  F"mod inverse of {a!r} and {m!r} does not exist"
            raise ValueError(_A						)
      lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__		:				Tuple    =  1, 0, a
      lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__		:				Optional[int]    =  0, 1, m
      while va != 0:
            lowerCamelCase__		:				Tuple    =  ua // va
            lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__    ,   lowerCamelCase__		:				str    =  (ua - q * va), (ua - q * va), (ua - q * va), va, va, va
      return ua % m


