



'''simple docstring'''






from __future__ import annotations
def    lowerCamelCase__ (		_A				,    _A       ):
  a		:      Any       =  sorted(numsa + numsa       )
  a     ,			a		:      Union[str, Any]       =  divmod(len(_A       )				,    2       )
  if mod == 1:
    return all_numbers[div]
  else:
    return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     lowerCAmelCase:      str		 =		[float(x) for x in input('Enter the elements of first array: ').split()]
     lowerCAmelCase:      Union[str, Any]		 =		[float(x) for x in input('Enter the elements of second array: ').split()]
     print(F"The median of two arrays is: {median_of_two_arrays(array_a, array_a)}")




'''simple docstring'''






from pathlib import Path

import fire
def    lowerCamelCase__ (		_A				,    _A				,    _A       ):
  a		:      Optional[Any]       =  Path(_A       )
  a		:      Tuple       =  Path(_A       )
  dest_dir.mkdir(exist_ok=_A       )
  for path in src_dir.iterdir():
    a		:      Tuple       =  [x.rstrip() for x in list(path.open().readlines()       )][:n]
    a		:      List[str]       =  dest_dir.joinpath(path.name       )
    print(_A       )
    dest_path.open('w'       ).write('\n'.join(_A       )       )


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