





"""simple docstring"""




def _a (  SCREAMING_SNAKE_CASE__      :  list			,				SCREAMING_SNAKE_CASE__      :  int			,				SCREAMING_SNAKE_CASE__      :  int = 0			,				SCREAMING_SNAKE_CASE__      :  int = 0       )	->    int:

							'''simple docstring'''






							SCREAMING_SNAKE_CASE__       :      List[str]     =						right or len(SCREAMING_SNAKE_CASE__       ) - 1
							if left > right:
														return -1
							elif list_data[left] == key:
														return left
							elif list_data[right] == key:
														return right
							else:
														return search(SCREAMING_SNAKE_CASE__			,				SCREAMING_SNAKE_CASE__			,				left + 1			,				right - 1       )


if __name__ == "__main__":
		import doctest

		doctest.testmod()













from __future__ import annotations




def _a (  SCREAMING_SNAKE_CASE__      :  list[float]			,				SCREAMING_SNAKE_CASE__      :  list[float]       )	->    float:

							'''simple docstring'''






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






