





from __future__ import annotations






def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				list[float]       , UpperCamelCase__:				list[float]     ):
		SCREAMING_SNAKE_CASE__								=   sorted(numsa + numsa     )
		SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__								=   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 					=      [float(x) for x in input('Enter the elements of first array: ').split()]
	_lowerCamelCase 					=      [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)}''')



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_flax_available, is_torch_available


_SCREAMING_SNAKE_CASE     :					Optional[int]      =       {"configuration_speech_encoder_decoder": ["SpeechEncoderDecoderConfig"]}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 _SCREAMING_SNAKE_CASE     :					Optional[int]      =       ["SpeechEncoderDecoderModel"]

try:
 if not is_flax_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 _SCREAMING_SNAKE_CASE     :					Dict      =       ["FlaxSpeechEncoderDecoderModel"]

if TYPE_CHECKING:
 from .configuration_speech_encoder_decoder import SpeechEncoderDecoderConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_speech_encoder_decoder import SpeechEncoderDecoderModel

 try:
  if not is_flax_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_flax_speech_encoder_decoder import FlaxSpeechEncoderDecoderModel

else:
 import sys

 _SCREAMING_SNAKE_CASE     :					List[Any]      =       _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)




