



"""simple docstring"""





from __future__ import annotations
def 	__lowerCAmelCase						(		__UpperCamelCase      :			list[float]					, __UpperCamelCase      :			list[float]    ):


						'''simple docstring'''






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


						'''simple docstring'''






						return " ".join(input_str.split()[::-1]    )


if __name__ == "__main__":
					import doctest

					doctest.testmod()

