


"""simple docstring"""


def      a__ (				__lowercase     ,			__lowercase     ,			__lowercase     ,			__lowercase     ,			__lowercase     ,			__lowercase   )	->	int:
				if index == r:
								for j in range(__lowercase   ):
												print(data[j]     ,			end=" "   )
								print(" "   )
								return
				#  When no more elements are there to put in data[]
				if i >= n:
								return
				# current is included, put next at next location
				_A					  =			arr[i]
				combination_util(__lowercase     ,			__lowercase     ,			__lowercase     ,			index + 1     ,			__lowercase     ,			i + 1   )
				# current is excluded, replace it with
				# next (Note that i+1 is passed, but
				# index is not changed)
				combination_util(__lowercase     ,			__lowercase     ,			__lowercase     ,			__lowercase     ,			__lowercase     ,			i + 1   )
				# The main function that prints all combinations
				# of size r in arr[] of size n. This function
				# mainly uses combinationUtil()






def      a__ (				__lowercase     ,			__lowercase     ,			__lowercase   )	->	Optional[Any]:
				# A temporary array to store all combination one by one
				_A					  =			[0] * r
				# Print all combination using temporary array 'data[]'
				combination_util(__lowercase     ,			__lowercase     ,			__lowercase     ,			0     ,			__lowercase     ,			0   )


if __name__ == "__main__":
		# Driver code to check the function above
		a_       							=    [10, 20, 30, 40, 50]
		print_combination(arr, len(arr), 3)
		# This code is contributed by Ambuj sahu



"""simple docstring"""


from __future__ import annotations






def      a__ (				__lowercase     ,			__lowercase   )	->	float:
				_A					  =			sorted(numsa + numsa   )
				_A  ,		_A					  =			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()
		a_       							=    [float(x) for x in input("Enter the elements of first array: ").split()]
		a_       							=    [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)}''')