





from __future__ import annotations






def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				list[float]       , UpperCamelCase__:				list[float]     ):
		SCREAMING_SNAKE_CASE__								=   sorted(numsa + numsa     )
		SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__								=   divmod(len(UpperCamelCase__     )       , 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 					=      [float(x) for x in input('Enter the elements of first array: ').split()]
	_lowerCamelCase 					=      [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)}''')






__lowerCamelCase			:	Any					    =	9.8_0_6_6_5



def 						A_							(	_lowerCAmelCase				,  _lowerCAmelCase				,  _lowerCAmelCase = g	)		->					float:

 if fluid_density <= 0:
  raise ValueError("Impossible fluid density"	)
 if volume < 0:
  raise ValueError("Impossible Object volume"	)
 if gravity <= 0:
  raise ValueError("Impossible Gravity"	)

 return fluid_density * gravity * volume


if __name__ == "__main__":
    import doctest

    # run doctest
    doctest.testmod()
