





"""simple docstring"""




from __future__ import annotations

_lowerCamelCase :    int  							= 1_0




def _a (  SCREAMING_SNAKE_CASE__      :  Optional[int]       )	->    list[int]:

							'''simple docstring'''






							SCREAMING_SNAKE_CASE__       :      Union[str, Any]     =						1
							SCREAMING_SNAKE_CASE__       :      Union[str, Any]     =						max(__lowerCAmelCase       )
							while placement <= max_digit:
														# declare and initialize empty buckets
														SCREAMING_SNAKE_CASE__       :      list[list]     =						[[] for _ in range(__lowerCAmelCase       )]
														# split list_of_ints between the buckets
														for i in list_of_ints:
																					SCREAMING_SNAKE_CASE__       :      List[str]     =						int((i / placement) % RADIX       )
																					buckets[tmp].append(__lowerCAmelCase       )
														# put each buckets' contents into list_of_ints
														SCREAMING_SNAKE_CASE__       :      List[Any]     =						0
														for b in range(__lowerCAmelCase       ):
																					for i in buckets[b]:
																												SCREAMING_SNAKE_CASE__       :      int     =						i
																												a += 1
        # move to next
														placement *= RADIX
							return list_of_ints


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)}")






