





from __future__ import annotations

def   a_    ( lowerCAmelCase_      :			list[float],	lowerCAmelCase_      :			list[float]	):
   __lowerCAmelCase								=	sorted(numsa + numsa	)
   __lowerCAmelCase	,	__lowerCAmelCase								=	divmod(len(lowerCAmelCase_	),	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()
     _snake_case  :    Optional[int]						    =  [float(x) for x in input('Enter the elements of first array: ').split()]
     _snake_case  :    Dict						    =  [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)}""")








def   a_    ( lowerCAmelCase_      :			str,	lowerCAmelCase_      :			int	):
   return [sentence[i : i + ngram_size] for i in range(len(lowerCAmelCase_	) - ngram_size + 1	)]


if __name__ == "__main__":
     from doctest import testmod

     testmod()

