


"""simple docstring"""






def       A_   (   _lowerCAmelCase     :					int       ):






     """simple docstring"""

     if not isinstance(_lowerCAmelCase,     _lowerCAmelCase       ):
          raise TypeError('''only integers accepted as input'''       )
     else:
          _a    	=				str(abs(_lowerCAmelCase       )       )
          _a    	=				[list(_lowerCAmelCase       ) for char in range(len(_lowerCAmelCase       )       )]
          for index in range(len(_lowerCAmelCase       )       ):
               num_transpositions[index].pop(_lowerCAmelCase       )
          return max(
              int(''''''.join(list(_lowerCAmelCase       )       )       ) for transposition in num_transpositions       )


if __name__ == "__main__":
   __import__('''doctest''').testmod()



"""simple docstring"""






from pathlib import Path

import fire
def       A_   (   _lowerCAmelCase     :					str,     _lowerCAmelCase     :					str,     _lowerCAmelCase     :					int       ):






     """simple docstring"""

     _a    	=				Path(_lowerCAmelCase       )
     _a    	=				Path(_lowerCAmelCase       )
     dest_dir.mkdir(exist_ok=_lowerCAmelCase       )
     for path in src_dir.iterdir():
          _a    	=				[x.rstrip() for x in list(path.open().readlines()       )][:n]
          _a    	=				dest_dir.joinpath(path.name       )
          print(_lowerCAmelCase       )
          dest_path.open('''w'''       ).write('''\n'''.join(_lowerCAmelCase       )       )


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