

"""simple docstring"""





def   _A  (  UpperCamelCase_     :       int)	->						Dict:
   '''simple docstring'''


   if not isinstance(lowerCAmelCase__,			lowerCAmelCase__):
      raise TypeError("Input value must be an \'int\' type")

   __lowercase								=						0
   while number:
      position += 1
      number >>= 1

   return position


if __name__ == "__main__":
   import doctest

   doctest.testmod()






from __future__ import annotations




def    __UpperCamelCase     (				lowerCAmelCase__							:				list[float]  ,   lowerCAmelCase__							:				list[float]  ):
 __a :  Dict						=  sorted(numsa + numsa  )
 __a				,       __a :  Optional[Any]						=  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()
      lowercase__       =[float(x) for x in input('Enter the elements of first array: ').split()]
      lowercase__       =[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)}""")
