




def        _SCREAMING_SNAKE_CASE      (		snake_case       )						->				Any:
						_UpperCAmelCase      =			[1]

						_UpperCAmelCase      =			0, 0, 0
						_UpperCAmelCase      =			ugly_nums[ia] * 2
						_UpperCAmelCase      =			ugly_nums[ia] * 3
						_UpperCAmelCase      =			ugly_nums[ia] * 5

						for _ in range(1			,     _lowerCamelCase       ):
												_UpperCAmelCase      =			min(_lowerCamelCase			,     _lowerCamelCase			,     _lowerCamelCase       )
												ugly_nums.append(_lowerCamelCase       )
												if next_num == next_a:
																		ia += 1
																		_UpperCAmelCase      =			ugly_nums[ia] * 2
												if next_num == next_a:
																		ia += 1
																		_UpperCAmelCase      =			ugly_nums[ia] * 3
												if next_num == next_a:
																		ia += 1
																		_UpperCAmelCase      =			ugly_nums[ia] * 5
						return ugly_nums[-1]


if __name__ == "__main__":
				from doctest import testmod

				testmod(verbose=True)
				print(F'{ugly_numbers(200) = }')





from __future__ import annotations




def        _SCREAMING_SNAKE_CASE      (		snake_case			,     snake_case       )						->				float:
						_UpperCAmelCase      =			sorted(numsa + numsa       )
						_UpperCAmelCase    ,					_UpperCAmelCase      =			divmod(len(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()
				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)}')