'''simple docstring'''


from __future__ import annotations





def       lowerCAmelCase					(		UpperCamelCase__				:   Tuple    ,					UpperCamelCase__				:   List[Any]       ):


	"""simple docstring"""
	__UpperCAmelCase							=			0
	__UpperCAmelCase							=			len(_SCREAMING_SNAKE_CASE       ) - 1

	while i < j:
		if nums[i] + nums[j] == target:
			return [i, j]
		elif nums[i] + nums[j] < target:
			__UpperCAmelCase							=			i + 1
		else:
			__UpperCAmelCase							=			j - 1

	return []


if __name__ == "__main__":
					import doctest

					doctest.testmod()
					print(F"""{two_pointer([2, 7, 11, 15], 9) = }""")

'''simple docstring'''


from pathlib import Path

import fire





def       lowerCAmelCase					(		UpperCamelCase__				:   str    ,					UpperCamelCase__				:   str    ,					UpperCamelCase__				:   int       ):


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


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