





from __future__ import annotations





def 						UpperCamelCase    (							_lowerCamelCase : Dict						,	_lowerCamelCase : str	):
    A__    =      sorted(numsa + numsa	)
    A__    =      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							:     int		     =[float(x) for x in input("Enter the elements of first array: ").split()]
  __lowerCAmelCase							:     List[str]		     =[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'''

def 						UpperCamelCase    (							_lowerCamelCase : int	):

    if not isinstance(_lowerCamelCase						,	_lowerCamelCase	):
        A__    =      F"Input value of [number={number}] must be an integer"
        raise TypeError(_lowerCamelCase	)

    if number < 1:
        A__    =      F"Input value of [number={number}] must be > 0"
        raise ValueError(_lowerCamelCase	)

    A__    =      1

    for i in range(1						,	_lowerCamelCase	):
        current_number *= 4 * i - 2
        current_number //= i + 1

    return current_number


if __name__ == "__main__":
  import doctest

  doctest.testmod()



