


from __future__ import annotations



def       _lowerCAmelCase    (				lowerCAmelCase_				:str		,    lowerCAmelCase_				:Union[str, Any]				)->Union[str, Any]:
   '''simple docstring'''






   snake_case_            =       sorted(numsa + numsa				)
   snake_case_     ,     snake_case_            =       divmod(len(lowercase__				)		,    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()
   SCREAMING_SNAKE_CASE						:Union[str, Any]			=  [float(x) for x in input('''Enter the elements of first array: ''').split()]
   SCREAMING_SNAKE_CASE						:int			=  [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)}''')







import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script


@require_cpu
class SCREAMING_SNAKE_CASE	(		unittest.TestCase				):






			"""simple docstring"""




			def       __lowerCAmelCase			(     self				):

				"""simple docstring"""


				debug_launcher(test_script.main				)







			def       __lowerCAmelCase			(     self				):

				"""simple docstring"""


				debug_launcher(test_ops.main				)
